Product Documentation

FairCom RTG COBOL User Guide

Previous Topic

Next Topic

<locktype>

The locktype option allows changing the default record locking behavior of the COBOL system in use. It is similar to settings 0 and 1 of the Micro Focus LOCKTYPE option.

Note: If not specified, the default record locking behavior of the COBOL system is used, ExtFH interface (i.e., Micro Focus) or ACUCOBOL, as shown below. This option allows that behavior to be overridden.

Accepted Values

Value

Effect

Synonyms

0

Locked records can be read, but not altered.

This is the default record locking behavior of COBOL systems using ExtFH interface (i.e., Micro Focus)

 

1

Locked records cannot be accessed.

This is the default record locking behavior of ACUCOBOL

 

Example

<locktype>0</locktype>

TOCIndex