VMS Help  —  COBOL  PROCEDURE_DIVISION, miscellaneous_topics, conditional_expressions, success-failure
  This condition tests the return status codes of COBOL and non-COBOL
  procedures for success or failure conditions.

  Format -

   status-code-id IS { SUCCESS }
                     { FAILURE }

  status-code-id
   must be a word or longword COMP integer as represented by
   PIC S9(1 to 9) COMP.
Close Help