lock_mode

Selects the locking implementation to be used.
Restriction: These tunables are supported for native COBOL only.

Syntax:

>>-----set lock_mode=---.-0-.-----------><
                        +-1-+
                        +-2-+
                        +-3-+

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 Provides compatibility with C-ISAM version 5 and above.

Properties:

Default: 2
IDE equivalent: None

Comments:

This tunable is only applicable if the File Handler configuration option FILEMAXSIZE is set to 4.