You are designing a COBOL program to manage a customer database. What file organization would you choose for the master file to allow efficient random access to customer records?

  • Indexed
  • Line Sequential
  • Relative
  • Sequential
For efficient random access, an Indexed file organization is suitable for a master file in COBOL. It uses an index to allow direct access to records based on a key, optimizing retrieval times.
Add your answer
Loading...

Leave a comment

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