MSIR.0989: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
<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 ReadOnly or writeOnly property block, which isn't allowed. The following message would be produced in the case of a ReadOnly 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>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:
<p class="code>MSIR.0989: Variable declarations must come before Get and Set in Property block</p>
</li>
</li>
</ul>
</ul>

Revision as of 14:35, 18 July 2018

MSIR.0989  Variable declarations token

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:

  • 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:

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

  • 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:

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

Response:

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