MSIR.0809 Disallow only valid in Public block: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 1: | Line 1: | ||
A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration. | A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration. | ||
{{Template:MSIR.0809 footer}} | |||
[[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] | [[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] |
Revision as of 22:09, 11 July 2016
A Disallow declaration appeared in a Private block. Disallow is only intended to restrict use of New or Discard outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the Disallow to the Public block. Otherwise, delete the Disallow declaration.
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 |