VMS Help
COBOL, PROCEDURE_DIVISION, DIVIDE, 2format INTO GIVING
*Conan The Librarian
|
The DIVIDE statement divides one or more numeric data items by another.
It stores the quotient.
Format 2 -
DIVIDE srcnum INTO srcnum GIVING { rsult [ ROUNDED ] } ...
[ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]
[ END-DIVIDE ]
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.