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

give the examples for strings and unstrings in cobol

2 Answers   IBM,


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.

2 Answers  


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


what is scope terminator

2 Answers   IBM,


what is the coding difference between COBOL and CICS.

8 Answers   Cap Gemini,


how you will define variables length in cobol.

3 Answers   Temenos,


How many types of sorts are there in cobol?

5 Answers   Cap Gemini,


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.

1 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


Categories