M204.1715
Jump to navigation
Jump to search
M204.1715 Cannot store record into groupName, file fileName has no sort/hash key
A Store Record statement in TEMP GROUP context contains a sort or hash key but the UPDTFILE of the TEMP GROUP is neither a SORT KEY file nor a HASH KEY file. This is detected at evaluation time rather than compile time, because the UPDTFILE of the compiling user's TEMP GROUP was sorted or hashed, while the UPDTFILE of the loading user's TEMP GROUP is neither sorted nor hashed.
Response: Remove the key from the Store Record statement, or change the UPDTFILE of the loading user's TEMP GROUP to be a sorted or hashed file.
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 |