In COBOL, _______ locks allow multiple users to read a file simultaneously, but only one user can write to it.

  • Exclusive
  • Read-only
  • Shared
  • Update
In COBOL, Exclusive locks allow multiple users to read a file simultaneously, but only one user can write to it. This ensures data integrity by preventing concurrent writes that could lead to inconsistencies. Shared locks, on the other hand, allow multiple users to read the file simultaneously without preventing each other.
Add your answer
Loading...

Leave a comment

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