Command Errors [ RJE User/Programmer Reference Manual ] MPE/iX 5.0 Documentation
RJE User/Programmer Reference Manual
Command Errors
Messages issued as the result of command errors indicate that something
was wrong with an RJE command (for example, the command was totally
unrecognizable or it contained syntax errors).
A command error always terminates a batch job. In an interactive
session, after issuing the error message RJE displays a # on your
terminal to prompt you for the next command.
Format of Command Error Messages
The formats of the command error messages are:
****COMMAND ERROR: x
****SYNTAX ERROR: y,z
where,
x is a digit specifying the type of error, as follows:
0 = Invalid command. The command was unrecognizable.
1 = Command too long.
2 = Too many parameters.
y is a digit specifying the type of error, as follows:
0 = Invalid keyword.
1 = Duplicate keyword.
2 = Invalid command construction.
3 = Invalid parameter.
4 = Invalid numeric parameter.
5 = Required parameter missing.
z is a digit specifying the number of the erroneous parameter. For
example, 3 means that the third parameter is in error.
NOTE When issuing the ****SYNTAX ERROR: y,z error message, RJE always
counts leading, but not trailing, nonkeyword parameters regardless
of whether they were supplied or omitted. This means that if one
or more of the nonkeyword parameters are omitted, the parameter
pointer z includes the omitted nonkeyword parameters and you must
adjust the pointer mentally in order to locate the erroneous
parameter. For example, if you supplied an #RJOUT command that
does not contain the output file reference and count parameters,
the parameter pointer in a ****SYNTAX ERROR: y, z error message is
two greater than what you might otherwise expect. In such a case,
if the second supplied keyword parameter is in error, z would be
four instead of the expected two.
Probable Cause of Command Errors
You made an error in coding, keypunching, or entering the particular
command.
Recovery from Command Errors
For a batch job, correct the erroneous command and resubmit the job. In
an interactive session, reenter the command correctly.
MPE/iX 5.0 Documentation