In a multi-user environment, two COBOL programs need to access the same file for reading and writing simultaneously. Which file access mode should you select to ensure data consistency?

  • DYNAMIC
  • I-O
  • INPUT
  • OUTPUT
In a multi-user environment, the appropriate file access mode is I-O (Input-Output). This mode supports concurrent reading and writing operations, ensuring data consistency when multiple programs access the same file simultaneously.
Add your answer
Loading...

Leave a comment

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