Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

<trxholdslocks>

This configuration keyword simulates ACUCOBOL's TRX_HOLDS_LOCKS=1 option, which does not free locks at transaction commit unless the locked records are updated during the transaction.

Note: The <trxholdslocks> option is global-only and can be set only as a child of <config>. It is not valid if specified as child of <*instance> or <file>.

Accepted Values

Value

Effect

Synonyms

yes

Only the locks on records updated during the transaction are released at transaction commit while all other locks not specifically released are held.

y, true, on, 1

no

All pending locks are released during a transaction commit or rollback. This is the default value.

n, false, off, 0

Example

<trxholdslocks>yes</trxholdslocks>

TOCIndex