M204.0597

From m204wiki
Revision as of 17:51, 11 May 2018 by JAL (talk | contribs) (mixed case for statements)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

M204.0597  In Order clause is invalid against sorted set

A For Each Record In label In Order statement refers to the result of a Sort Records statement. The In Order clause is only valid when the For statement refers to a Find statement or to a List.

Response: Remove the In Order clause. If you want to process records in index or sort order, refer to a Find statement or to a List.

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
ECHODisplays the line that caused the error
COMPILECompilation error

Back to list of messages