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.
-♦-