M204.1715

From m204wiki
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=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
CANCELCancels the user's request
COUNTIncrements the error count (ERCNT) parameter

Back to list of messages