M204.0728
M204.0728 Function must be inside For loop
A function reference is found that is legal only inside a record loop. The compilation continues, but the request is not executed.
Response: Move the function reference within a record loop, or remove the function reference. Then 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 |