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...

Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

Answer Posted / mehak

open input file reversed
this will read file in reversed order
write 2 record

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different data types in cobol?

1290


What is comp-1 and comp-2?

1216


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1229


Name some of the examples of COBOl 11?

3125


how do you reference the esds vsam file formats from cobol programs

1193


What is the difference between comp and comp-3 usage?

1177


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

1306


Have you used comp and comp-3 in your project? And how?

2460


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

2053


what is difference between cobol and cobol/400

22873


how do you reference the fixed unblock file formats from cobol programs

1212


Discuss about changing dataset name in proc.

1215


Explain about different table spaces.

1080


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1991


What is a scope terminator give example?

1090