For an indexed or relative file in sequential access mode,
The last input/output statement must have been a successfully processed READ statement without the NO LOCK phrase.
+-------------------------------IBM Extension--------------------------------+
If the last input/output statement was a successfully processed READ statement with the NO LOCK phrase:
+----------------------------End of IBM Extension----------------------------+
If the last input/output statement was not a successfully processed READ statement, the file status key (if defined) is set to 43.
See the ILE COBOL for AS/400 Programmer's Guide for information about file and record locking.
For information about error handling, see Common Processing Facilities.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.