The RUNITLOCKDETECT option specifies whether the File Handler checks whether a record has been locked by a separate OPEN statement issued from within the same run unit.
RUNITLOCKDETECT={ON|OFF}
ON | Detect record locks. |
OFF | Do not detect record locks. |
Default: | ON |
Locks set within a given run unit are detected, even if RUNITLOCKDETECT is on, if this is supported by the operating system.