M204.1767

From m204wiki
Jump to navigation Jump to search

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

Back to list of messages