Home › Mainframe Tutorial › Job output and return codes
Job output and return codes
Read what a job tells you.
Each step ends with a return code: 0 means success, 4 a warning, 8 an error, 12 a serious error and 16 a severe error. The COND parameter decides whether a later step runs.
Example code
//RCJOB JOB (ACCT),'RC',CLASS=A,MSGCLASS=X
//STEP1 EXEC PGM=IEFBR14
//STEP2 EXEC PGM=IEFBR14,COND=(0,NE)