PLB_RECORDLOCK Keyword
PLBWIN or PLBLinux
PLB_RECORDLOCK={ PHYSICAL | LOGICAL | EXTENDED }
This keyword specifies one of three record locking modes supported by the runtime. The default locking mode is LOGICAL. The three modes are defined as follows:
|
Mode |
Definition |
|
LOGICAL |
All records located in the 0 to 2GB range are actually locked in the 2GB to 4GB range. |
|
PHYSICAL |
All records located in the 0 to 0x80000000 range are locked in the 0 to 0x80000000 range. This mode is intended to provide compatible record locking ranges when accessing files on Linux platforms. It should be noted that Linux OS environments have a record locking limitation of 2GB that limits the range for which FILEPI can cover. |
|
EXTENDED |
All records located in the 0 to 4GB range are locked in the 2GB x 4GB range. This mode uses the Windows 64 bit record locking ranges. |
See Also: PLBWIN Keywords, PLBLinux Environment Variables, Compiler and Runtime Options
![]() |