Summary -
In this topic, we described about the 100 LOCKED with detailed example.
If this error condition occurred, the task gets abended with AEX8.
Command | RESP2, Description & Solution |
---|---|
DELETE | An attempt has been made to delete a record, but lock exists against the key. Solution: - The record might get locked for some other reason. Wait for some time and try again. |
READ READNEXT READPREV |
106 - An attempt is being made to read a record either specifying the UPDATE keyword or specifying CONSISTENT or REPEATABLE, but the record is locked by a retained lock.
Solution: - The record might get locked for some other reason. Wait for some time and try again. |
REWRITE | An attempt has been made to rewrite a record, but lock exists against the unique alternate key that is involved in the request. Solution: - The record might get locked for some other reason. Wait for some time and try again. |
WRITE | An attempt has been made to write a record, but lock exists against the same key of the record. Solution: - The record might get locked for some other reason. Wait for some time and try again. |