M204.1767
M204.1767 Null parameter list is illegal
A CALL, DECLARE, or SUBROUTINE statement was found to have a null parameter list (empty parentheses: ()
). If no parameters are required for a subroutine, the parameter list should be omitted completely. For example, CALL S1
,
not CALL S1 (), is the correct way to call a subroutine that has no parameters.
Response: Correct the statement 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 |