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

I have two questions here.
1. How to read a flat file in reverse order?
2. How to read a VSAM KSDS file in reverse order?

In both the cases we donot know the total number of records.

Answer Posted / hanish

Flat file may be read in reverse order by using the following code

READ file-name into data-name REVERSED.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1301


What are the access modes of START statement?

1329


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

2136


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1198


how to refer the data field?

2324


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2648


How to know whether the module is dynamical or statistical?

1213


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2277


Discuss about changing dataset name in proc.

1296


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1169


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

2066


Name some of the examples of COBOl 11?

3196


Write down the divisions of cobol program?

1336


how to convert the recors form vsam file to db2 table tru file aid

3314


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1280