MSIR.1074: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:MSIR.1074 skeleton}} | {{Template:MSIR.1074 skeleton}} | ||
<p> | <p> | ||
An invalid reference to a private class member has been made. Typically a private class member can only be referenced within the class itself, or by a friend class. For example, if the new method is used to create a new instance outside of the class, then the following message is produced: | An invalid reference to a private class member has been made. Typically a private class member can only be referenced within the class itself, or by a friend class. For example, if the new method is used to create a new instance outside of the class, then the following message is produced:</p> | ||
<p class="code>MSIR.1074: NEW not allowed because CAR is a private class</p> | <p class="code>MSIR.1074: NEW not allowed because CAR is a private class</p> | ||
<p> | <p> | ||
<b>Response:</b> | <b>Response:</b> | ||
</p> | </p> | ||
{{Template:MSIR.1074 footer}} | {{Template:MSIR.1074 footer}} |
Revision as of 15:05, 31 July 2018
MSIR.1074 token not allowed because token2 is a private class
An invalid reference to a private class member has been made. Typically a private class member can only be referenced within the class itself, or by a friend class. For example, if the new method is used to create a new instance outside of the class, then the following message is produced:
MSIR.1074: NEW not allowed because CAR is a private class
Response:
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 |