How does COBOL handle record locking when multiple programs access the same file in "I-O" mode?

  • COBOL automatically handles record locking, preventing conflicts
  • COBOL doesn't support record locking in "I-O" mode
  • COBOL relies on the operating system for record locking
  • COBOL uses exclusive lock, allowing only one program to access the file at a time
COBOL typically relies on the underlying operating system for record locking when multiple programs access the same file in "I-O" (Input-Output) mode. It doesn't inherently provide built-in record locking mechanisms.
Add your answer
Loading...

Leave a comment

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