You are developing a COBOL application that needs to search for specific customer records by their account numbers efficiently. Which file organization should you choose for this purpose?
- Indexed
- Line-Sequential
- Relative
- Sequential
For efficient searching based on a key, an Indexed file organization is recommended. It allows direct access to records based on a key, in this case, the account number.
Loading...
Related Quiz
- Exception handling in COBOL often involves the use of the _____ clause.
- When processing multiple files in a COBOL program, you encounter an exception in one file but want to continue processing the other files without interruption. How can you achieve this?
- Explain the concept of "nested scope" in COBOL with an example.
- The Data Division in COBOL is responsible for describing the structure and ________ of data items used in the program.
- What is the main purpose of error handling in COBOL programs?