The ______ clause in COBOL is used to specify the action to be taken when an exception occurs.

  • EXCEPTION-CONDITION
  • EXCEPTION-CONTROL
  • EXCEPTION-HANDLER
  • ON EXCEPTION
The EXCEPTION-HANDLER clause in COBOL is used to specify the action to be taken when an exception occurs during program execution. It allows the programmer to define custom error-handling logic for specific exceptions.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *