MSIR.0989: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
m (add <var>'s)
Line 2: Line 2:
<!--Test SOUL.DNC.010.QA in QASHR exercises at least some MSIR.0989 cases. PDS-6626 -->
<!--Test SOUL.DNC.010.QA in QASHR exercises at least some MSIR.0989 cases. PDS-6626 -->
<p>
<p>
This message indicate an incorrect declaration of a %variable within a property method block. The following examples are amongst the texts that might appear with this message:
This message indicates an incorrect declaration of a %variable within a <var>Property</var> method block. The following examples are among the texts that might appear with this message:
</p>
</p>
<ul>
<ul>
<li>variables have been declared within a ReadOnly or writeOnly property block, which isn't allowed. The following message would be produced in the case of a ReadOnly property:
<li>Variables have been declared within a <var>ReadOnly</var> or <var>WriteOnly</var> property block, which is not allowed. The following message is produced in the case of a <var>ReadOnly</var> property:
<p class="code>MSIR.0989: Variable declarations not allowed in ReadOnly/WriteOnly Property block</p>
<p class="code>MSIR.0989: Variable declarations not allowed in ReadOnly/WriteOnly Property block</p>
</li>
</li>
<li>a variable hasn't been explicitly declared before both the set and get methods appear in the property block. In this case the following message is produced:
<li>A variable has not been explicitly declared before both the <var>Set</var> and <var>Get</var> methods appear in the property block. In this case the following message is produced:
<p class="code>MSIR.0989: Variable declarations must come before Get and Set in Property block</p>
<p class="code>MSIR.0989: Variable declarations must come before Get and Set in Property block</p>
</li>
</li>
</ul>
</ul>
<p>
 
<b>Response:</b>
</p>
{{Template:MSIR.0989 footer}}
{{Template:MSIR.0989 footer}}

Revision as of 18:25, 19 July 2018

MSIR.0989  Variable declarations token

This message indicates an incorrect declaration of a %variable within a Property method block. The following examples are among the texts that might appear with this message:

  • Variables have been declared within a ReadOnly or WriteOnly property block, which is not allowed. The following message is produced in the case of a ReadOnly property:

    MSIR.0989: Variable declarations not allowed in ReadOnly/WriteOnly Property block

  • A variable has not been explicitly declared before both the Set and Get methods appear in the property block. In this case the following message is produced:

    MSIR.0989: Variable declarations must come before Get and Set in Property block


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

Back to list of messages