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?



Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in..

Answer / 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

More COBOL Interview Questions

what is S04E error in jcl?

11 Answers   IBM, L&T,


what is amode(24), amode(31), rmode(24) and rmode(any)?

0 Answers  


what are the error codes in cobol, db2, cics, vsam , and jcl

2 Answers   TetraSoft,


What is static and dynamic call in cobol?

0 Answers  


How is sign stored in a comp-3 field?

7 Answers  


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


wht r the advantages of 77 level number ?

8 Answers   TCS,


what is the difference between implicit and explicit scope terminator with example? 

1 Answers  


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

0 Answers   HeadStrong,


)what is retrieve?

1 Answers   IBM,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


Categories