Programming Languages
COBOL
Subjective
Mar 15, 2013
Why is it necessary that the file be opened in I-O mode for REWRITE?
Detailed Explanation
Before the REWRITE is performed, the record must be read from the file. Hence REWRITE includes an input operation and an output operation. Therefore, the file must be opened in I-O mode.
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts