VMS Help
COBOL, PROCEDURE_DIVISION, MULTIPLY

 *Conan The Librarian

  The MULTIPLY statement multiplies two numeric operands and stores the
  result.

  1 - 1format

  The MULTIPLY statement multiplies two numeric operands and stores the
  result.

  Format 1 -

   MULTIPLY srcnum BY { rsult [ ROUNDED ] } ...

      [ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]

      [ END-MULTIPLY ]

 1.1 - srcnum

  is a numeric literal or the identifier of an elementary numeric item.

 1.2 - rsult

  is the identifier of an elementary numeric item.  It is the resultant
  identifier.

 1.3 - stment

  is an imperative statement.

  2 - 2format GIVING

  The MULTIPLY statement multiplies two numeric operands and stores the
  result.

  Format 2 -

   MULTIPLY srcnum BY srcnum GIVING { rsult [ ROUNDED ] } ...

      [ ON SIZE ERROR stment ] [ NOT ON SIZE ERROR stment ]

      [ END-MULTIPLY ]

 2.1 - srcnum

  is a numeric literal or the identifier of an elementary numeric item.

 2.2 - rsult

  is the identifier of an elementary numeric item or an elementary
  numeric edited item.  It is the resultant identifier.

 2.3 - stment

  is an imperative statement.
  Close     Help