MSIR.0846 NameAllowed not allowed after NameRequired: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The < | The <var>NameAllowed</var> keyword was specified on a parameter description of a method declaration, but an earlier parameter had been specified as <var>NameRequired</var>. This doesn't make sense, since any parameters after a <var>NameRequired</var> parameter cannot be specified positionally, so they are, effectively, <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>. | |||
[[Category: | {{Template:MSIR.0846 footer}} | ||
[[Category:MSIR.0800 - MSIR.0999]] |
Latest revision as of 23:35, 3 March 2017
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 |