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

wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

Answer Posted / binary logics

*hival setgt pfrec
90 doueq *on 90 is a indicator for End of file
readp pfrec
write newpfrec
enddo

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1094


how do you reference the rrds file formats from cobol programs

1496


What are declaratives and what are their uses in cobol?

1135


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

1126


In COBOL programming, what is PERFORM? What is VARYING?

1089


Which mode is used to operate the sequential file?

1153


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

1018


When is inspect verb is used in cobol?

1182


What is the use of intialize verb?

1185


Describe the cobol database components?

1126


What is cobol?

1196


) How do u handle errors in BMS macro?

1911


Explain what you understand by passing by value.

1100


How do u write test cases?

2013


What are the different rules for performing sort operation?

1156