Assembly / HLASM · Abend code

Abend S0C7

What does Abend S0C7 mean in Assembly / HLASM?

An arithmetic instruction operated on data that is not validly formatted for it, most often a packed-decimal field with invalid digits or sign nibbles, commonly from a PACK or CVB operating on a source field that was not actually numeric.

Abend S0C7z/OS · HLASM

Condition

An arithmetic instruction operated on data that is not validly formatted for it, most often a packed-decimal field with invalid digits or sign nibbles, commonly from a PACK or CVB operating on a source field that was not actually numeric.

Fix

Check the actual content of the field going into the arithmetic instruction, and confirm any PACK, CVB, or ZAP that produced it operated on genuinely numeric source data.

Related abend code