M204.1725

From m204wiki
Revision as of 15:58, 7 March 2018 by DmeWiccan (talk | contribs) (Automatically generated page update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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