Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Procedure Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
6-51
MULTIPLY Statements
Group moves are treated as alphanumeric to alphanumeric moves, with no data
conversion. The receiving area is filled without regard to individual or subgroup items
in either the sending or receiving items.
Table 6-4
summarizes MOVE conventions.
MULTIPLY Statements
The MULTIPLY statements multiply two or more numeric items and place the result in
a specified data item. A multiply operation can easily produce a value that does not fit
into the receiving field; when defining a receiving field, thought should be given to the
size of that field.
MULTIPLY BY Statement
The MULTIPLY BY statement multiplies one numeric data item by one or more other
numeric data items. The product replaces the value of each multiplier.
value
is the multiplicand, which is a numeric literal or an identifier of an elementary
numeric data item.
Table 6-4. MOVE Summary Table
Category of Receiving Data Item
Category of Sending
Data Item
Alpha-
betic
Alpha-
numeric
Alpha-
numeric
Edited
Numeric
Integer,
Numeric
Non-
integer, or
Numeric
Edited
Double-
Byte
Character
Alphabetic Yes Yes No No Yes *
Alphanumeric Yes Yes No Yes Yes *
Alphanumeric Edited Yes No No No Yes *
Numeric Integer No No No Yes No
Numeric Noninteger No No No Yes No
Numeric Edited No No No No No
Double-Byte Character No Yes Yes No Yes
* Such MOVE operations move string data byte by byte and no editing or conversion is done.
MULTIPLY value BY { multiplier } ,...