MSIR.0989: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (add <var>'s)
m (tweak wording in description)
 
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 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:
This message indicates an incorrect variable reference 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 <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:
<li>Variables have been incorrectly declared within a <var>ReadOnly</var> or <var>WriteOnly</var> property block. 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 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:
<li>A variable was not 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>

Latest revision as of 18:50, 20 July 2018

MSIR.0989  Variable declarations token

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

  • Variables have been incorrectly declared within a ReadOnly or WriteOnly property block. 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 was not 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