When dealing with indexed files, the "I-O" mode allows you to perform _____ operations on records.
- Increase and Optimize
- Index and Order
- Input and Output
- Insert and Overwrite
In COBOL, when dealing with indexed files, the "I-O" mode (Input-Output mode) allows you to perform both input and output operations on records. This means you can read records from the file and also modify or rewrite them.
Loading...
Related Quiz
- How do you handle exceptions and errors in the COBOL Procedure Division?
- Which COBOL statement is used to raise an exception explicitly in a program?
- How can the FUNCTION LENGTH intrinsic function be used to determine the length of a string in COBOL?
- What is the primary reason for handling dates and times in COBOL programs?
- You are coding a COBOL program that reads records from a file until a specific condition is met. Which type of PERFORM loop and termination condition would you use in this scenario, and why?