PL/I · Exception

ONCODE 310: FIXEDOVERFLOW

What does ONCODE 310: FIXEDOVERFLOW mean in PL/I?

The result of an arithmetic operation on a fixed-point decimal or binary value exceeded the precision defined for the receiving field.

ONCODE 310: FIXEDOVERFLOWIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

The result of an arithmetic operation on a fixed-point decimal or binary value exceeded the precision defined for the receiving field.

Fix

Check the PICTURE or fixed-point precision of the field receiving the result, and increase it if the calculation legitimately needs more digits. Also check for a runaway loop that is accumulating a total far past what the field was sized for.

Pending source verification. Not yet checked against official documentation.

Related exception