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.
Loading...
Related Quiz
- Which COBOL statement is commonly used to capture and handle exceptions that occur during file operations?
- In a COBOL program, you need to write records to a file, and you want to handle write errors gracefully. Which COBOL file control verb allows you to do this?
- In COBOL, the _____ clause is used to specify the action to be taken when a file operation results in an exception condition.
- ________ is a technique used in COBOL to ensure data integrity during exceptional situations.
- In the Data Division, the ________ clause is used to specify the level of nesting for data items within a group.