M204.1707
M204.1707 Sort/hash key must be first field loaded into new record
The X'8000' mode bit has been set on a file load control statement to indicate that the field being loaded should begin a new record. The file being loaded is sorted or hashed and the field being loaded is not the sort/hash key.
- If the file is defined as sort/hash key required (FILEORG X'02' bit is on), the sort/hash key must begin each new record.
- If the file is defined as sort/hash key not required (FILEORG X'02' bit is off), each record must begin with the sort/hash key, or, if the sort/hash key will be omitted from the record, the field that begins the record must be loaded with the additional mode bit X'2000'.
File manager response: Correct the fast load control statements, and resubmit the job.
System manager response: Contact the file manager.
Operator response: Contact the file manager.
Message attributes:
| RETCODEO=24 | Sets online return code |
|---|---|
| RETCODEB=24 | 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 |
| AUDITMS | Writes the message with line type MS to the audit trail |
| NOCOUNT | Does not increment the error count (ERCNT) parameter |