In a COBOL program, you are required to maintain an employee database with records that can be accessed randomly. Which file access mode and organization should you select?

  • Dynamic access mode, Indexed organization
  • Random access mode, Indexed organization
  • Random access mode, Relative organization
  • Sequential access mode, Line-Sequential organization
For random access to records in a database, the Random access mode with Indexed file organization is suitable. This allows direct access based on a key value.
Add your answer
Loading...

Leave a comment

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