VMS Help
COBOL, PROCEDURE_DIVISION, SUBTRACT, 2format GIVING
*Conan The Librarian
|
The SUBTRACT statement subtracts one, or the sum of two or more,
numeric items from one or more items. It stores the result in one or
more items.
Format 2 -
SUBTRACT { num } ... FROM num GIVING { rsult [ ROUNDED ] } ...
[ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]
[ END-SUBTRACT ]
is a numeric literal or the identifier of an elementary numeric item.
is the identifier of an elementary numeric item or an elementary
numeric edited item. It is the resultant identifier.
is an imperative statement.