Limits and Errors when Rexx Uses Numbers Directly

When Rexx uses numbers directly, that is, numbers that have not been involved in an arithmetic operation, they are rounded, if necessary, according to the setting of NUMERIC DIGITS.

The following table shows which numbers must be whole numbers and what their limits are:

Table 10-1. Whole Number Limits

Power values (right-hand operand of the power operator)999999999
Values of exprr and exprf in the DO instructionThe current numeric precision (up to 999999999)
Values given for DIGITS or FUZZ in the NUMERIC instruction 999999999 (Note: FUZZ must always be less than DIGITS.)
Positional patterns in parsing templates999999999
Number given for option in the TRACE instruction999999999

When Rexx uses numbers directly, the following types of errors can occur: