Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between static and dynamic call in cobol?

1359


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2049


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1382


What are the different rules for performing sort operation?

1201


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.

6544


What is the difference between PIC 9.99 and 9v99 in COBOL?

1307


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2456


Which division and paragraphs are mandatory for a COBOL program?

1251


What is cobol?

1221


A table has two indexes defined. Which one will be used by the SEARCH?

1269


What rules are to be followed while using the corresponding options?

1047


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1233


how do you reference the printer file formats from cobol programs

1191


What is link edit in cobol?

1177


) how do u code after getting data?

2130