Common ABENDs (S0C Errors)


ABEND Code Interrupt Code Name Meaning Cause/Solution
0C1 0001 Operation Exception

Attempted to execute an invalid op code

  • Attempted to execute a DS or DC statement

  • The code was accidentally overwritten

0C4 0004 Protection Exception

A D(B) or D(X,B) address resolved to an absolute address that it outside of the program

  • An index or base register contains an excessively large number

  • An index or base register was inadvertently changed

Possible Solution

  1. Look at the ABENDing instruction

  2. Look left. Did the instruction encode correctly? (ie. did the assembler pick the correct base/index registers?)

  3. Look at the contents of the base/index registers. Are they correct?

  4. Check the program dump to see if the ABENDing instruction was altered

0C5 0005 Addressing Exception

A D(B) or D(X,B) address resolved to an absolute address that is greater than FFFFFF

  • An index or base register contains an excessively large number

  • An index or base register was inadvertently changed

Possible Solution

  1. Same as SOC4 error

0C6 0006 Specification Exception

A D(X,B) address on an RX instruction resolved to an absolute address that is not on a fullword boundary

  • An index or base register contains an invalid number

Possible Solution

  1. Make sure that the label that was used as the 2nd operand is on a fullword boundary

  2. Same as SOC4 error

Common JCL Errors


ABEND Code Interrupt Code Name Meaning Cause/Solution
322    

Ran out of the time alloted to execute the program

Infinite Loop

722    

Exceeded the maximum number of lines available for printing output

Infinite Loop