From m204wiki
Jump to navigation Jump to search

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=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages