You are working on a COBOL program that needs to read and update customer records stored in a VSAM file. What file organization would you choose, and why?

  • Entry Sequenced Organization
  • Keyed Sequential Organization
  • Line Sequential Organization
  • Relative Organization
For reading and updating specific records in a VSAM file, Keyed Sequential Organization is preferred. It allows efficient direct access to records based on a key, enabling faster retrieval and updates compared to other file organizations.
Add your answer
Loading...

Leave a comment

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