Which COBOL verb is commonly used to handle file errors and exceptions?
- CONTINUE
- FILE-CONTROL
- HANDLE
- ON EXCEPTION
The FILE-CONTROL verb in COBOL is commonly used to handle file errors and exceptions. It specifies various attributes of files, including the FILE STATUS clause, which helps in managing file-related errors during program execution.
Loading...
Related Quiz
- What is the significance of the RECORD KEY clause when defining VSAM and ISAM files in COBOL?
- What is the key difference between "EVALUATE" and "IF" statements in COBOL?
- COBOL's support for database connectivity is often achieved through _____.
- You are tasked with optimizing a COBOL program that reads and processes a large sequential file. Which technique would you consider for reducing I/O operations and improving performance?
- The OCCURS clause in COBOL is primarily used to define ____________.