0 votes
in Cobol by
Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1 Answer

0 votes
by

Before the REWRITE is performed, the record must be open and read from the file. Therefore, the file must be opened in I-O mode for rewrite functionality.

...