MSIR.0846 NameAllowed not allowed after NameRequired: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "The <tt>NameAllowed</tt> keyword was specified on a parameter description of a method declaration, but an earlier parameter had been specified as <tt>NameRequired</tt>. This does...")
 
(Automatically generated page update)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The <tt>NameAllowed</tt> keyword was specified on a parameter description of a method declaration, but an earlier parameter had been specified as <tt>NameRequired</tt>. This doesn't make sense, since any parameters after a NameRequired parameter cannot be specified positionally, so they are, effectively, NameRequired.  
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 NameAllowed parameter ahead of NameRequired ones, remove the NameAllowed from the parameter declaration, or change the NameAllowed to NameRequired.
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:Sirius Mods Messages]]
{{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=0Sets online return code
RETCODEB=4Sets batch (single user) return code
CLASS=EError class; the message can be suppressed with the X'04' bit setting of the MSGCTL parameter
AUDITERWrites the message with line type ER to the audit trail
COUNTIncrements the error count (ERCNT) parameter
ECHODisplays the line that caused the error

Back to list of messages