M204.1725: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
Line 1: Line 1:
{{Template:M204.1725 skeleton}}
{{Template:M204.1725 skeleton}}
<P>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
<P>
CALL, DECLARE, or SUBROUTINE statement for a particular subroutine is successfully compiled. </P>
A parameter of a <var>Call</var>, <var>Declare</var>, or <var>Subroutine</var> 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
<p><b>Response:</b> 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. </p>
<var>Call</var>, <var>Declare</var>, or <var>Subroutine</var> statement for a particular subroutine is successfully compiled. </P>
<p>
<b>Response:</b> Correct the statement and retry. If the first reference to a subroutine is a <var>Declare</var> statement or the <var>Subroutine</var> itself, then all incorrect <var>Call</var> statements will be correctly flagged by the compiler.  
</p>
{{Template:M204.1725 footer}}
{{Template:M204.1725 footer}}
<!-- skeleton as it was in pdf/PARAMETER NUMBER n IS TYPE INCOMPATIBLE /-->
<!-- skeleton as it was in pdf/PARAMETER NUMBER n IS TYPE INCOMPATIBLE /-->

Latest revision as of 16:52, 12 March 2018

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