MSIR.0989: Difference between revisions
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 | 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> | <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> | <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> | ||
{{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=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 |