VMS Help  —  COBOL  PROCEDURE_DIVISION, COMPUTE
  The COMPUTE statement evaluates an arithmetic expression and stores the
  result.

  Format -

   COMPUTE { rsult [ ROUNDED ] } ... =  arithmetic-expression

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

      [ END-COMPUTE ]
Additional Information: explode extract

rsult
stment
Close Help