M204.0037

From m204wiki
Jump to navigation Jump to search

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=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

Back to list of messages