When working with indexed files in COBOL, what is the key used for accessing records?
- Alternate key
- Prime key
- Relative key
- Secondary key
In COBOL, when working with indexed files, the "Relative key" is used for accessing records. This key defines the relative position of a record within the file. It is essential for efficient record retrieval in indexed files.
Loading...
Related Quiz
- How can you ensure proper cleanup and closing of files in COBOL, even when exceptions occur?
- In a COBOL application, you are required to validate user input for a date field. Which intrinsic function can help you ensure that the entered date is valid?
- _____ is the process of creating a new object from a class in Object-Oriented COBOL.
- How do you declare a numeric variable in COBOL?
- The _____ function in COBOL is used for calculating the number of days between two dates.