How u detect record is locked in Cobol/400 ?
Wat is the solution for that ?

Answers were Sorted based on User's Feedback



How u detect record is locked in Cobol/400 ? Wat is the solution for that ?..

Answer / mvrk

Check the file status, if the file status is 9D then it indicates that the record is locked. Solution should be READ the file with NO LOCK.

Please correct me if i am wrong.

Is This Answer Correct ?    14 Yes 2 No

How u detect record is locked in Cobol/400 ? Wat is the solution for that ?..

Answer / kishore

How i Read file with NoLock ?

mail me at pvenkatakishore.as400@gmail.com

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More COBOL400 Interview Questions

How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC * EVALUATE TRUE WHEN SQLCODE = +000 MOVE WS-COUNT TO Copybook field WHEN SQLCODE = +100 MOVE ZEROES TO Copybook field

2 Answers  


Explain the input procedure and output procedure?

0 Answers  


what is redefine and its syntax?

6 Answers   HCL,


What is redefine?

0 Answers  


What is the syntax of sort?

0 Answers  






i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?

1 Answers   UHG,


How COBOL helps Mainframe to maintain large records ???

1 Answers   Satyam,


what is INPUT PROCEDURE and OUTPUT PROCEDURE?

2 Answers  


define comp?

2 Answers  


How to Convert 2010/02/11 to m/dd/yyy.. with string and without string if any other method... code

5 Answers   CGI,


What are fillers? What is the actual use of fillers? With mall/simple example?

0 Answers  


define sort? and its syntax?

3 Answers  


Categories