VMS Help  —  COBOL  PROCEDURE_DIVISION, DIVIDE  5format BY with REMAINDER
  The DIVIDE statement divides one or more numeric data items by another.
  It stores the quotient and remainder.

  Format 5 -

   DIVIDE srcnum BY srcnum GIVING rsult [ ROUNDED ] REMAINDER remaind

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

      [ END-DIVIDE ]
Additional Information: explode extract

srcnum
rsult remaind
stment
Close Help