From m204wiki
Jump to navigation Jump to search

M204.0767  Unnecessary sort​/​hash key rejected

A sort or hash key was specified for a file during initialization or as an argument of a host language interface IFINIT call. However, the file was created with a FILEORG parameter inconsistent with the key specified. Initialization fails.

Response: If the file is not a sorted or hash file, eliminate the sort or hash key from the INITIALIZE command or IFINIT call and retry. If the file should be a sorted or hash file, contact the file manager to create the file with the proper FILEORG parameter value.

File manager response: Consider creating the file again, setting FILEORG to allow for sort or hash keys.

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