Assembly / HLASM · Abend code

Abend S0C5

What does Abend S0C5 mean in Assembly / HLASM?

The program referenced a storage address that does not exist at all, distinct from S0C4 in that the address is invalid rather than merely off-limits.

Abend S0C5z/OS · HLASM

Condition

The program referenced a storage address that does not exist at all, distinct from S0C4 in that the address is invalid rather than merely off-limits.

Fix

Check for an uninitialized register used as a base or pointer, or address arithmetic that produced a value outside real storage entirely. This is less common than S0C4 in application code but shows up in the same class of base-register mistakes.

Related abend code