The _____ clause in COBOL allows you to specify an alternative action to be taken when a file operation results in an exception.

  • ALTERNATE RECORD
  • EXCEPTION HANDLING
  • EXCEPTION PROCEDURE
  • INVALID KEY
In COBOL, the "INVALID KEY" clause is used to specify an alternative action to be taken when a file operation results in an exception. It provides a way to handle errors and take appropriate measures to ensure smooth program execution.
Add your answer
Loading...

Leave a comment

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