Hai friends
why we need to read a file before re-write a record?
Answer Posted / mf buzz
Hi,
For Rewrite, the file has to be opened in I-O mode. REWRITE
is used to update records. Rewrite statement will update
the last read record. Hence, we have to read the record to
be updated first. Hope this clarifies.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is difference between static and dynamic call in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What are the different rules for performing sort operation?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between PIC 9.99 and 9v99 in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Which division and paragraphs are mandatory for a COBOL program?
What is cobol?
A table has two indexes defined. Which one will be used by the SEARCH?
What rules are to be followed while using the corresponding options?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how do you reference the printer file formats from cobol programs
What is link edit in cobol?
) how do u code after getting data?