What is the purpose of the "RESUME" statement in error recovery strategies?

  • Allows the program to continue execution after handling an exception
  • Reverts the program to its initial state
  • Rolls back changes made to files
  • Terminates the program to prevent further errors
The "RESUME" statement in COBOL is used to allow the program to continue execution after handling an exception. It helps in implementing controlled error recovery strategies, ensuring that the program can gracefully recover from errors and continue processing.
Add your answer
Loading...

Leave a comment

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