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 |