Product Documentation

c-treeRTG COBOL Edition User's Guide

Previous Topic

Next Topic

<retrylock>

The retrylock option indicates whether a READ operation that fails because a record is locked should wait until the lock is released rather than returning an immediate lock error. When this option is enabled, records are locked with the c-tree lock mode of ctENABLE_BLK instead of ctENABLE.

Accepted Values

Value

Effect

Synonyms

yes

Wait until the lock is released.

y, true, on, 1

no

Do not wait and return immediately with an error. This is the default value.

n, false, off, 0

Example

<retrylock>yes</retrylock>

TOCIndex