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 |
what is the difference between comp & comp-3?
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
Code how to read 5th element of the array?
How we can update data area in cobol 400 program?
Define redefine?
Define redefine and its syntax?
i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?
Explain how to convert 2010/02/11 to m/dd/yyy.. With string and without string if any other method... Code?
How to detect record is locked in cobol/400? What is the solution for that?
What is sort? And its syntax?
Explain the input procedure?
Explain the output procedure?