Home › Mainframe Tutorial › Common abends
Common abends
Why jobs fail and what the codes mean.
An abend is an abnormal end. The codes tell you the reason: S0C7 is bad numeric data, S806 means the program was not found, B37 means a dataset ran out of space and S222 means the job was cancelled.
Example code
/* REXX */
SAY "S0C7 - bad numeric data"
SAY "S806 - program not found"
SAY "B37 - out of space on a disk dataset"
SAY "S222 - job cancelled"