*OPENABS (GETMODE)
PLBCMP Only
*OPENABS={value}
The *OPENABS control reports the absolute open mode. If the state is OFF (the default state), a file may be opened in both EXCLUSIVE and READ mode within the same program. If the state is ON and a file has been opened in EXCLUSIVE mode, subsequent opens of the specified file must also 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.
{value} is a previously defined Numeric Variable that receives the absolute open mode.
The {value} returned is one of the following:
|
Value |
Absolute Open Mode is ... |
|
0 |
OFF (default). |
|
1 |
ON. |
See Also: List Controls (GETMODE), GETMODE
![]() |