VMS Help  —  COBOL  PROCEDURE_DIVISION, CALL  function-res
  is the identifier of an elementary integer numeric data item with COMP,
  COMP-1, or COMP-2 usage and no scaling positions.  Function-res can be
  subscripted, and it can be qualified.  When control returns to the
  calling program, function-res can contain a function result.
Close Help