MSIR.0989: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
EllieWiccan (talk | contribs)  Automatically generated page update  | 
				m tweak wording in description  | 
				||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Template:MSIR.0989 skeleton}}  | {{Template:MSIR.0989 skeleton}}  | ||
<!--Test SOUL.DNC.010.QA in QASHR exercises at least some MSIR.0989 cases. PDS-6626 -->  | |||
<p>  | <p>  | ||
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>  | |||
<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>  | |||
</li>  | |||
<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>  | |||
</li>  | |||
</ul>  | |||
{{Template:MSIR.0989 footer}}  | {{Template:MSIR.0989 footer}}  | ||
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=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 |