HELPLIB.HLB  —  COBOL  PROCEDURE_DIVISION, ADD  3format CORRESPONDING
  The ADD statement adds two or more numeric operands and stores the
  result.

  Format 3 -

   ADD { CORRESPONDING } grp-1 TO grp-2 [ ROUNDED ]
       { CORR          }

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

      [ END-ADD ]

1  –  grp

  is the identifier of a numeric group item.

2  –  stment

  is an imperative statement.
Close Help