OVERFLOW condition

Computational condition that identifies when the magnitude of a floating-point value exceeds the maximum allowed.

Enabled/Disabled status

Always enabled.

Result

The value of the identified invalid floating-point number is undefined.

Raised

When the magnitude of a floating-point number exceeds the maximum allowed.

Notes

The OVERFLOW condition and the SIZE condition are different in that SIZE is raised when a result exceeds the declared size of a variable, and OVERFLOW is raised when a result exceeds the maximum allowed by the computer.

If the OVERFLOW condition is raised, but it is also disabled, the program is in error.

See the Open PL/I User's Guide for information about the maximum for decimal float values and binary float numbers.

Other Information

Abbreviation
OFL
Condition codes
300
Implicit action
Prints a message and raises the ERROR condition.
Normal return
Raises the ERROR condition and executes a STOP statement. .