Guidelines for Modifying Default Handling of the LOCK MODE
There are several -f
compiler flags designed to allow the user to create implicit declarations for LOCK MODE
in files.
The -f
compiler flags related to the treatment of LOCK MODE
are:
-fexclusivelock
Causes all files with noLOCK MODE
clause in theirSELECT
statement to be declared implicitly asLOCK MODE IS EXCLUSIVE
.-fmanuallock
Causes all files with noLOCK MODE
clause in theirSELECT
statement to be declared implicitly asLOCK MODE IS MANUAL
unless aSHARING
clause in theSELECT
statement or in theOPEN
statement indicates otherwise.-fshare-all-autolock
Causes all files with aSHARE WITH ALL
clause in theirSELECT
statement to be declared implicitly asLOCK MODE IS AUTOMATIC
.-fshare-all-manulock
Causes all files with aSHARE WITH ALL
clause in theirSELECT
statement to be declared implicitly asLOCK MODE IS MANUAL
.-fshare-all-default
Causes all files to be declared implicitly asSHARE WITH ALL
.