COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

multiplicand
is a numeric literal or the identifier of an elementary numeric data item.
multiplier
is the identifier of an elementary numeric data item.
ROUNDED
specifies that the product is to be rounded before being stored as the new value of
multiplier.
imperative-stmt-1
is an imperative statement to be executed when a size error is detected in the multiplication
or in storing the product in multiplier.
imperative-stmt-2
is an imperative statement to be executed when no size error is detected in the multiplication
or in storing the product in multiplier.
END-MULTIPLY
ends the scope of the MULTIPLY statement and makes it a delimited-scope statement. If you
omit END-MULTIPLY but include the SIZE ERROR or NOT SIZE ERROR phrase, the MULTIPLY
statement is a conditional statement and ends at the next period separator.
Usage Considerations:
Mathematics
The statement
MULTIPLY A BY B C D
means store A x B into B, A x C into C, and A x D into D.
Repeating a Multiplier
If more than one multiplier specifies the same data item,
the final value of that data item reflects more than one
multiplication by multiplicand. For example,
MULTIPLY 4 BY A B B
372 Procedure Division Verbs