In COBOL, the _____ clause is used to specify the action to be taken when a file operation results in an exception condition.
- ERROR HANDLING
- EXCEPTION HANDLER
- INVALID KEY
- ON EXCEPTION
In COBOL, the INVALID KEY clause is used to specify the action to be taken when a file operation results in an exception condition, such as attempting to read a record that does not exist.
Loading...
Related Quiz
- When an error occurs in a COBOL program, what is the role of the "EXIT" statement?
- In COBOL, what is a record?
- What is the primary purpose of using the SORT operation in COBOL?
- When a CONTINUE statement is encountered, it allows the program to ___________ executing subsequent statements in the same scope.
- In COBOL, the "ELSE" clause is executed when the condition in the "IF" statement is _____