M204.0037: Difference between revisions
Jump to navigation
Jump to search
Automatically generated page update |
(No difference)
|
Latest revision as of 00:12, 13 February 2018
M204.0037 Invalid syntax
There is a syntax error in a SOUL statement (VARIABLES ARE, %variable IS, or FOR %variable) or a PROCEDURE command.
For %variable declarations (VARIABLES ARE, %variable IS), the possible errors are:
- A LEN, DP, or ARRAY clause appears more than once.
- More than one type (STRING, FLOAT, FIXED) appears.
For an index loop (FOR %variable), the statement contains a keyword other than FROM, TO, or BY, or there is text following the statement (for example, a comment) on the same line.
For the PROCEDURE command, the ALIAS or PCLASS parameter appears more than once.
Response: Correct the error and recompile the request or reissue the command.
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 |