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

Procedure Division Verbs
HP COBOL Manual for TNS/E Programs520347-003
9-120
MULTIPLY
group-1
is the group-name of the data to be copied.
group-2
is the group-name to which the data is to be copied.
MULTIPLY
Form Description
MULTIPLY BY
Multiplies one data item by one or more other data items and stores
the result(s) in the other data item(s); for example, the statement
MULTIPLY A BY B C D
means store A x B in B, A x C in C, and A x D in D
MULTIPLY GIVING
Multiplies two data items and stores the product in one or more other
data item(s); for example, the statement
MULTIPLY A BY B GIVING C D E
means store A x B in C, D, and E
group-1MOVE group-2TOCORRESPONDING
CORR
VST183.vsd