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

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

1321


Write a program to enter and display the names of students in a class using the occurs clause.

1254


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

1302


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

1301


How do we get current date from system with century in COBOL?

1423


What is the utilization of copybook in cobol?

1265


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

1121


What is the difference between comp and comp-3?

1222


Define cobol?

1476


What is the difference between external and global variables in COBOL?

1531


How to know whether the module is dynamical or statistical?

1203


What is comp-1 and comp-2?

1275


What is an in line perform? When would you use it? Anything else you wish to say about it.

1137


Whats the difference between search & search ALL?

6640


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.

6659