PL/I · Exception

ONCODE 300: OVERFLOW

What does ONCODE 300: OVERFLOW mean in PL/I?

A floating-point calculation produced a result too large for the target floating-point format to represent, the floating-point counterpart to FIXEDOVERFLOW.

ONCODE 300: OVERFLOWIBM Enterprise PL/I for z/OS · PL/I for AIX

Condition

A floating-point calculation produced a result too large for the target floating-point format to represent, the floating-point counterpart to FIXEDOVERFLOW.

Fix

Check the magnitude of intermediate results in the calculation, not just the final one, since a large intermediate value can overflow even when the final answer would have fit.

Pending source verification. Not yet checked against official documentation.

Related exception