M204.1714

From m204wiki
Revision as of 15:57, 7 March 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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=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