Assembly / HLASM · Abend code
What does Abend S0CB mean in Assembly / HLASM?
The program attempted to divide by zero, or a division produced a quotient too large for the destination field.
The program attempted to divide by zero, or a division produced a quotient too large for the destination field.
Add an explicit test for a zero divisor before DP or D, and check the destination field size against the largest quotient the calculation can actually produce.