COBOL Manual for TNS and TNS/R Programs

Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs522555-006
9-263
SUBTRACT FROM
SUBTRACT FROM
SUBTRACT FROM subtracts one or more values from the values of one or more
identifiers and stores the results in the identifiers.
subtrahend
is the identifier of a numeric elementary data item or a numeric literal.
minuend-result
is the identifier of a numeric elementary data item.
ROUNDED
specifies that the result is to be rounded before being stored.
imperative-stmt-1
is an imperative statement to be executed when a size error is detected in the
subtraction or in storing the result.
SUBTRACT subtrahend FROM
minuend-result
END-SUBTRACT
ON
SIZE ERROR
NOT
ON
SIZE ERROR
imperative-stmt-2
imperative-stmt-1
ROUNDED
VST227.vsd