The arithmetic statements may have multiple resultant fields specified for them. These statements are evaluated as if they were written as a series of statements involving a temporary data item.
The following example illustrates the process.
The statement
ADD A, B, C TO C, D(C), E
is equivalent to
ADD A, B, C GIVING TEMP ADD TEMP TO C ADD TEMP TO D(C) ADD TEMP TO E