M204.0239
M204.0239 Cto statement must be within record loop
A Count Occurrences (CTO) statement appears outside a For Each Record loop.
Response: Correct, and retry.
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 |