*OPENABS (SETMODE)
PLBCMP Only
*OPENABS={ON | OFF}
The *OPENABS list control allows the runtime to restrict opens of a specific file to one mode. If the state is OFF (the default state), a file may be opened in both EXCLUSIVE and READ mode within the same program. Setting the state to ON would required that after an EXCLUSIVE open, all subsequent opens for the specified file must be in EXCLUSIVE mode.
Files opened in EXCLUSIVE mode are never accessible to any other programs regardless of this runtime setting.
This mode may be controlled using the PLB_OPENABS runtime keyword.
See Also: List Controls (SETMODE), SETMODE
![]() |