$DeadlockReason
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
$DeadlockReason
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
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) |
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5