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 are decleratives in cobol?

2305


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2276


What is report-item in COBOL?

1198


What is the difference between structured cobol programming and object alternativelyiented cobol?

1297


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1204


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1302


What is the difference between comp and comp-3?

1227


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1217


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1499


What are the pertinent COBOL

2623


Write a program that uses move corresponding.

1206


What are the access modes of START statement?

1326


Which is not true about evaluate statement

2512


) what is the difference between AID and HANDLE AID?

2198


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.

6663