When working with indexed files, which access mode is commonly used to update existing records?
- "Dynamic" access mode
- "Extend" access mode
- "Random" access mode
- "Sequential" access mode
The "Random" access mode in COBOL is commonly used when working with indexed files to update existing records. It allows direct access to any record in the file based on the key value.
Loading...
Related Quiz
- To avoid file locking-related performance bottlenecks, it's important to consider the appropriate use of _______ locks for different file access patterns.
- Explain the concept of "nested scope" in COBOL with an example.
- In the "ENVIRONMENT DIVISION," the "INPUT-OUTPUT SECTION" defines the _____ used by the program.
- The _____ file organization in COBOL is used for storing records in the order they are written.
- In COBOL, what is a user-defined function, and how is it implemented in the Procedure Division?