$DeadlockReason

Indicates the reason that a deadlock condition occurred.

Syntax

$deadlockreason

Return Value

A character string. Cannot be reset by an application program.

Description

$DeadlockReason contains one of the following reason codes for the current deadlock condition:

Code

Reason

0

transaction completed normally

1

transaction terminated due to time out

2

transaction terminated due to transaction recovery

3

not in use

4

attempt to do an update in a read transaction

5

transaction terminated as a result of deadlock

6

lock request outside a transaction (warning only)

7

problem converting operating system lock (transaction terminated)

8

no free file table entry (transaction terminated)

 

Related Topics