Previous Topic Next topic Print topic


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-+
                        

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.

Properties:

Default: 1
IDE equivalent: None Use the Application.config file of the project - right-click the file in Solution Explorer and click Open, then select the Run-time Configuration tab.

Comments:

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

Previous Topic Next topic Print topic