How u detect record is locked in Cobol/400 ?
Wat is the solution for that ?
Answers were Sorted based on User's Feedback
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 |
Explain how to update data area in cobol 400 program?
What are fillers? What is the actual use of fillers? With mall/simple example?
define comp?
how array can be declare in cobol?
What is input procedure?
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
Define perform?
How to detect record is locked in cobol/400?
Arrays in COBOL/400
Define sort?
can i anyone tell me how to use copybooks in cobol
It's possible use %TRIM statement like rpgile?