Selects the locking implementation to be used.
Restriction: These tunables are supported for native COBOL only.
Syntax:
>>-----set lock_mode=---.-0-.-----------><
+-1-+
+-2-+
+-3-+ (UNIX)
Parameters:
0
|
Uses the locking mechanism provided by
Micro Focus COBOL V3.1 and earlier versions.
|
1
|
Provides compatibility with DOS and OS/2 locking mechanisms.
|
2
|
Provides interlanguage locking. This method causes record locks to lock the physical record.
|
3
(applies to UNIX environments only)
|
Provides compatibility with C-ISAM version 5 and above.
|
Properties:
Default:
|
1 (Windows) or
2 (UNIX)
|
IDE equivalent:
|
> File Handling > Lock mode strategy
|
Comments:
This tunable is only applicable if the File Handler configuration option FILEMAXSIZE is set to 4.