PLB_OPENABS Keyword


PLBWIN or PLBCE

PLB_OPENABS={ ON | OFF }

 

This keyword restricts opens of a specific file to one mode. If the keyword is OFF (the default state), a file could be opened in both EXCLUSIVE and READ mode within the same program. Setting this keyword 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 keyword setting.

 

Programmatic access to this runtime option is available through the GETMODE and SETMODE instructions.

 

 

See Also: PLBWIN Keywords, PLBCE Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLB_NOPATH Keyword PLB_OPENUSEIP Keyword