MSIR.0980: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (add link) |
||
Line 2: | Line 2: | ||
<!--Test SOUL.DNC.006.QA in QASHR exercises at least some MSIR.0980 cases. PDS-6626 --> | <!--Test SOUL.DNC.006.QA in QASHR exercises at least some MSIR.0980 cases. PDS-6626 --> | ||
<p> | <p> | ||
An assignment was attempted to either a | An assignment was attempted to either a [[Classes and Objects#ReadOnly and Protected variables|ReadOnly or Protected variable]], neither of which is allowed. A <var>ReadOnly</var> variable can be updated only by code inside its owning class. A <var>Protected</var> variable can be updated only by code inside its owning class or inside an extension class to the owning class. | ||
</p> | </p> | ||
{{Template:MSIR.0980 footer}} | {{Template:MSIR.0980 footer}} |
Latest revision as of 17:23, 21 June 2018
MSIR.0980 Invalid assignment to token variable
An assignment was attempted to either a ReadOnly or Protected variable, neither of which is allowed. A ReadOnly variable can be updated only by code inside its owning class. A Protected variable can be updated only by code inside its owning class or inside an extension class to the owning class.
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 |