Return codes

The batch command interface returns a return code for each processed instruction, and the program keeps the highest return code.
Code
Explanation
0
All instructions are successfully processed.
2
End of file, a forgotten period at the end of program or empty file.
4
Resource not found, or not authorized, or the operation input arrival is earlier than the occurrence input arrival.
5
One or more of the related dependencies does not exist.
6
Refer back to instruction return code.
8
Refer back to instruction return code.
10
More than one occurrence matches the specified arguments.
32
Input arrival date less than CP end date (applies to DELETE LTOC, DELETE LTPRE, INSERT LTOC, and MODIFY LTOC).
100
The field of the parm operand, specified in the preceding WTO, is wrong.
105
Error during the load of the EQQYCTDI interface module.
110
Syntax error (see the following message).
120
A DD card is missing (see the log for more information about which card is missing).
130
No SYSIN DD card found.
140
Exceeded the word capacity (54 characters). For example, this might occur if in the last card of the SYSIN file there is a period and nothing else.
150
Options incompatible with the command.
160
None of the input records match the value specified in ADID.
170
Not enough storage available.
180
The file input to the import function has been produced with a level of code not compatible.
190
MATCHTYP not specified and VALTO or VALFROM specified.
191
VALFROM or VALTO specified and one (or more) permanent OI(s) found among those selected.
195
MATCHTYP specified in a DELETE AD or DELETE OI command, without VALFROM and VALTO.
200
Current plan does not exist.
210
The input arrival date and time are not valid. See the messages for more information.
300
BCIT received invalid data from the scheduler.
310
Erroneous status code.
400
ADVERS=Y and NADID omitted requires that at least one between NSTATUS and NVALFROM be specified with a new value.
401
ADVERS=Y and NADID specifying a name for which there are already existing versions requires that both NSTATUS and NVALFROM be specified and their combination must not exist.
402
ADVERS=N and NADID omitted does not allow new arguments different from NSTATUS to be specified.
403
ADVERS=N and NADID omitted requires NSTATUS to specify a value different from the status of the ADID being copied.
404
ADVERS=N and NADID specifying a name for which there are already existing versions is not supported.
405
COPY AD not allowed because maximum number of versions already exists.
406
NVALTO specified in COPY AD when ADVERS=Y is active.