M204.1725

From m204wiki
Jump to navigation Jump to search

M204.1725  Parameter number num is type incompatible

A parameter of a Call, Declare, or Subroutine statement was found to have a different, incompatible variable type than the corresponding parameter on the subroutine definition. The parameter type is defined when the first Call, Declare, or Subroutine statement for a particular subroutine is successfully compiled.

Response: Correct the statement and retry. If the first reference to a subroutine is a Declare statement or the Subroutine itself, then all incorrect Call statements will be correctly flagged by the compiler.

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