M204.0597: Difference between revisions
Jump to navigation
Jump to search
m (add <var>'s) |
m (mixed case for statements) |
||
Line 1: | Line 1: | ||
{{Template:M204.0597 skeleton}} | {{Template:M204.0597 skeleton}} | ||
<P> | <P> | ||
A <code> | A <code>For Each Record In <i>label</i> In Order</code> statement refers to the result of a <var>Sort Records</var> statement. The <code>In Order</code> clause is only valid when the <var>For</var> statement refers to a <var>Find</var> statement or to a <var>List</var>. </P> | ||
<p> | <p> | ||
<b>Response:</b> Remove the <code> | <b>Response:</b> Remove the <code>In Order</code> clause. If you want to process records in index or sort order, refer to a <var>Find</var> statement or to a <var>List</var>. | ||
</p> | </p> | ||
{{Template:M204.0597 footer}} | {{Template:M204.0597 footer}} | ||
<!-- skeleton as it was in pdf/IN ORDER CLAUSE IS INVALID AGAINST SORTED SET /--> | <!-- skeleton as it was in pdf/IN ORDER CLAUSE IS INVALID AGAINST SORTED SET /--> |
Latest revision as of 17:51, 11 May 2018
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=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 |
ECHO | Displays the line that caused the error |
COMPILE | Compilation error |