M204.1725
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=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 |