M204.1714
M204.1714 Cannot store record into groupName, key required in update file fileName
A Store Record statement in TEMP GROUP context has attempted to store a record without a sort or hash key, and the UPDTFILE of the temporary group is a SORT or HASH KEY file with the KEY REQUIRED option. This was detected at evaluation time (instead of compile time), because the UPDTFILE of the compiling user's temporary group did not have the KEY REQUIRED option, but the loading user's temporary group does.
Response: Change the Store Record statement to supply a sort or hash key, or change the TEMP GROUP definitions so that the UPDTFILE of the loading user does not require keys.
File manager response: Consider changing the UPDTFILE so that it does not require a sort or hash key.
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 |
CANCEL | Cancels the user's request |
COUNT | Increments the error count (ERCNT) parameter |