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

  Format 4 -

   DIVIDE srcnum INTO 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