You are developing a COBOL application that handles a large inventory database accessed by multiple users. What type of file locking strategy would you recommend to ensure data integrity while allowing concurrent reads?

  • File-level locking
  • No locking is needed for concurrent reads
  • Record-level locking
  • Table-based locking
For ensuring data integrity while allowing concurrent reads in a large inventory database, file-level locking is recommended. File-level locking ensures that the entire file is locked for write operations, preventing conflicts during updates.
Add your answer
Loading...

Leave a comment

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