What it means
Code 0C4 is one of the 0Cx program interruptions, raised when no routine was set to handle it. Its reason code shows which exception occurred: 4 is a protection exception, X'10' a segment-translation exception and X'11' a page-translation exception.
A protection exception means the storage key of the area being accessed differs from the key of the running program.
Typical causes
- The program key differs from the storage key of the area it tried to access (reason 4).
- The program referenced storage that had not been obtained (reason X'10' or X'11').
- A program running disabled referenced storage that was paged out.
- A program in 64-bit addressing mode used a 31-bit pointer with its high-order bit on, or did not clear the high half of a register after loading a 31-bit pointer.
- The page was protected by PGSER PROTECT or IARV64 PROTECT, or shared read-only through IARVSERV or IARV64.
How to fix it
- Read the reason code in the dump to see which exception occurred.
- Compare the program's key (PSW key field) with the storage key and confirm the program runs in the correct key and the address is set up correctly.
- Allocate storage before the program references it.
- Page-fix storage that a disabled program references.
- In 64-bit mode, clear the 33 high-order bits of a register before loading a 31-bit pointer into it.