In a COBOL program, what file organization is typically used for master files in a database system?
- Dynamic
- Indexed
- Relative
- Sequential
Indexed file organization is typically used for master files in a database system in COBOL. It allows for efficient random access based on a key field, making it suitable for scenarios where records need to be retrieved directly by their key values.
Loading...
Related Quiz
- The OCCURS clause in COBOL is used for defining ________ in the Data Division.
- How do you define a nested group data item in COBOL?
- What is the purpose of file locking in COBOL when dealing with multi-user access?
- To handle file errors gracefully in COBOL, you can use the _____ clause to specify the procedure to be executed when an exception occurs.
- How is an indexed file different from a sequential file in COBOL?