Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


Terminology used for intermediate results

To understand this information about intermediate results, you need to understand the following terminology.

i
The number of integer places carried for an intermediate result. (If you use the ROUNDED phrase, one more integer place might be carried for accuracy if necessary.)
d
The number of decimal places carried for an intermediate result. (If you use the ROUNDED phrase, one more decimal place might be carried for accuracy if necessary.)
dmax
In a particular statement, the largest of the following items:
inner-dmax
In reference to a function, the largest of the following items:
outer-dmax
The number of decimal places that a function result contributes to operations outside of its own evaluation (for example, if the function is an operand in an arithmetic expression, or an argument to another function).
op1
The first operand in a generated arithmetic statement (in division, the divisor).
op2
The second operand in a generated arithmetic statement (in division, the dividend).
i1, i2
The number of integer places in op1 and op2, respectively.
d1, d2
The number of decimal places in op1 and op2, respectively.
ir
The intermediate result when a generated arithmetic statement or operation is performed. (Intermediate results are generated either in registers or storage locations.)
ir1, ir2
Successive intermediate results. (Successive intermediate results might have the same storage location.)

related references
ROUNDED phrase (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)