Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

FIXEDOVERFLOW condition

Status
FIXEDOVERFLOW is enabled throughout the program, except within the scope of the NOFIXEDOVERFLOW condition prefix.
Result
The result of the invalid FIXED DECIMAL operation is undefined.
Cause and syntax
The FIXEDOVERFLOW computational condition is raised when the length of the result of a FIXED DECIMAL arithmetic operation exceeds the maximum length allowed by the implementation.

The FIXEDOVERFLOW condition is not raised for FIXED BINARY operations.

The FIXEDOVERFLOW condition differs from the SIZE condition in that SIZE is raised when a result exceeds the declared size of a variable, while FIXEDOVERFLOW is raised when a result exceeds the maximum allowed by the computer.

If the FIXEDOVERFLOW condition is raised and it is disabled, the program is in error.

Read syntax diagramSkip visual syntax diagram>>-FIXEDOVERFLOW-----------------------------------------------><
 
Abbreviation
FOFL
Implicit action
A message is printed and the ERROR condition is raised.
Normal return
Control returns to the point immediately following the point at which the condition was raised.
Condition code
310
Note:
If the SIZE condition is disabled, an attempt to assign an oversize number to a fixed decimal variable can raise the FIXEDOVERFLOW condition.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)