MSIR.0846 NameAllowed not allowed after NameRequired: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
Line 3: | Line 3: | ||
Move the <var>NameAllowed</var> parameter ahead of <var>NameRequired</var> ones, remove the <var>NameAllowed</var> from the parameter declaration, or change the <var>NameAllowed</var> to <var>NameRequired</var>. | Move the <var>NameAllowed</var> parameter ahead of <var>NameRequired</var> ones, remove the <var>NameAllowed</var> from the parameter declaration, or change the <var>NameAllowed</var> to <var>NameRequired</var>. | ||
{{Template:MSIR.0846 footer}} | |||
[[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] | [[Category:Sirius Mods messages]] [[Category:MSIR.0800 - MSIR.0999]] |
Revision as of 18:31, 12 July 2016
The NameAllowed keyword was specified on a parameter description of a method declaration, but an earlier parameter had been specified as NameRequired. This doesn't make sense, since any parameters after a NameRequired parameter cannot be specified positionally, so they are, effectively, NameRequired.
Move the NameAllowed parameter ahead of NameRequired ones, remove the NameAllowed from the parameter declaration, or change the NameAllowed to NameRequired.
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 |