strict_file_locking

Enables or disables the strict file locking mechanism for UNIX platforms.
Restriction:

This tunable is supported for native COBOL only.

Syntax:

>>-----set-strict_file_locking=--.-TRUE--.--><
                                 +-FALSE-+

Parameters:

TRUE

Sets strict file locking mode, which honors the locking and sharing options that are in place.

FALSE

Provided for backward compatibility.

Properties:

Default:

TRUE

IDE equivalent:

None

Comments:

You can use this mechanism with both 32-bit and 64-bit file handling operations.

If your application encounters unexpected OPEN conditions or fails to open files, it might be as a result of the new file locking behavior. In such circumstances, we recommend that you review the file locking and sharing requirements of your application and refactor your source code to work with the default setting. The original file locking and sharing behavior can be restored by setting strict_file_locking=false.