When dealing with indexed files in COBOL, what is the role of the index file?

  • It compresses the data to save storage space
  • It contains pointers to the actual records in the data file
  • It organizes records in a sequential order
  • It stores backup copies of the data file
The index file in COBOL's indexed file organization contains pointers to the actual records in the data file. This allows for efficient random access to records based on the indexed key.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *