Numbers Used Directly by REXX

As discussed, the result of any arithmetic operation is rounded (if necessary) according to the setting of NUMERIC DIGITS. Similarly, when REXX directly uses a number (which has not necessarily been involved in an arithmetic operation), the same rounding is also applied. It is just as though the number had been added to 0.

In the following cases, the number used must be a whole number, and the largest number you can use is 999999999.
  • The positional patterns in parsing templates (including variable positional patterns)
  • The power value (right hand operand) of the power operator
  • The values of exprr and exprf in the DO instruction
  • The values given for DIGITS or FUZZ in the NUMERIC instruction
  • Any number used in the numeric option in the TRACE instruction.

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/nudbr.html