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.
Syntax:
RUNITLOCKDETECT
=
{
ON
}
{
OFF
}
Parameters:
- ON
- Detect record locks.
- OFF
- Do not detect record locks.
Comments:
Locks set within a given run unit are detected, even if RUNITLOCKDETECT is on, if this is supported by the operating system.