M204.0767
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.
File manager response: Consider creating the file again, setting FILEORG to allow for sort or hash keys.
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 |
COUNT | Increments the error count (ERCNT) parameter |