VMS Help
COBOL, PROCEDURE_DIVISION, ADD, 2format GIVING
*Conan The Librarian
|
The ADD statement adds two or more numeric operands and stores the
result.
Format 2 -
ADD { num } ... TO { num } GIVING { rsult [ ROUNDED ] } ...
[ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]
[ END-ADD ]
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.