Skip to content

Get_Transaction_Retry

See Also: Set_Transaction_Retry

Purpose

To return the setting for the number of times to retry a transaction before signaling a deadlock.

Syntax

Get_Transaction_Retry To {variable}

Argument Explanation

  • variable: An integer variable to hold the number of retries.

What It Does

Get_Transaction_Retry returns the number of automatic lock retries that will occur before a deadlock is signaled. A deadlock occurs when two or more tasks or users try to lock each other's records. You may set the retry count with the Set_Transaction_Retry command, thereby allowing more retries to occur before causing a deadlock condition.

Example

Integer iTransactionRetry
Get_Transaction_Retry To iTransactionRetry
Showln "Number of times to retry transactions: " iTransactionRetry

Notes

  • The default value of the transaction retry count is 15.