COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
Usage Considerations:
• Changing Addend Values
The ADD GIVING statement does not change the value of an addend unless you also specify
that addend for result.
• See these usage considerations in ADD TO:
Operand Identification Order◦
◦ Arithmetic Operations
◦ Precision
◦ ROUNDED, SIZE ERROR, and NOT SIZE ERROR Phrases
ADD CORRESPONDING
ADD CORRESPONDING adds numeric elements of one data structure to corresponding numeric
elements of another data structure.
CAUTION: ADD CORRESPONDING is not recommended, because minor changes to one data
structure can change the correspondence between its elements and those of the other data structure,
and this is difficult to detect.
CORRESPONDING, CORR
are equivalent and specify that the values of corresponding elementary items of two data
structures are to be added.
group-1
is the identifier of a data structure in which some or all of the elementary items are numeric.
ADD 287










