MSIR.0846 NameAllowed not allowed after NameRequired

From m204wiki
Jump to navigation Jump to search

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