Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

Conform file locking behavior to ACUCOBOL's V_INTERNAL_LOCKS when <runitlockdetect> set to 'no'

When the ACUCOBOL configuration setting V_INTERNAL_LOCKS is set to "0" (off, false, no), Vision tracks locks but does not enforce internal record or file locking. The c-treeRTG configuration setting <runitlockdetect>, which aims to simulate the V_INTERNAL_LOCKS, did not enforce record locks but still enforced file locks. This modification corrects the file locking behavior so that it is now possible, for example, to exclusively open a file twice from the same run unit.

TOCIndex