M204.1045
M204.1045 Request cancelled - unable to lock all records
Your SOUL request could not run to completion because of a conflict between you and another Model 204 user for control of one or more records. You can read records while other users are reading them, but you cannot update a record if any other user is reading or updating that record.
Response: Try running your request again when there are fewer users sharing your files. As a longer range solution, consider rewriting your request to use ON RECORD LOCKING CONFLICT, ON FIND CONFLICT, RELEASE RECORDS, and FIND AND RESERVE. Record level locking and concurrency control describes record level enqueueing.
Message attributes:
RETCODEO=0 | Sets online return code |
---|---|
RETCODEB=4 | Sets batch (single user) return code |
CLASS=E | Error class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter |
AUDITER | Writes the message with line type ER to the audit trail |
COUNT | Increments the error count (ERCNT) parameter |