Download IBM Application System/400 System/38-Compatible
Transcript
INPUT-OUTPUT SECTION The system locks records contained in files under commitment control when these records are accessed. Records remain locked until released by a COMMIT or ROLLBACK statement. For more information about record locking for files under commitment control, see “Commitment Control Considerations” on page 247. Note: Always try to use files in a consistent manner to avoid record locking problems, and to avoid reading records that have not yet been permanently committed to the data base. Typically, a file should either always be accessed under commitment control or never be accessed under commitment control. 294 System/38-Compatible COBOL User’s Guide and Reference