cobol2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
DETECTLOCK Details (↑ Compiler Control)
 Key Summary                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     With DETECTLOCK, if a READ statement reads a record locked by
     another program, it will return an I-O status of 9/068. With
     NODETECTLOCK, it will return 0/000. In both cases it will read
     the record successfully.
 
     When DETECTLOCK is specified, individual READ steatments may be made
     to ignore locks by using the READ ... IGNORELOCK syntax. See your
     Language Reference for details of this syntax.
                                    -♦-