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

For the KSDS file we can set the pointer on the last record.
After that use the command READ Previous to read the
records in the reverse order.

I am not very sure about flat file. May be we can use a
turn around.
Sort the file in descending order first and then start
reading.

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes S(8) comp field occupy and its maximum value?

2089


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

1062


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2159


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1317


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1602


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1289


What is redefines clause in COBOL?

1249


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

1174


Give some examples of command terminators?

1195


Name some of the examples of COBOl 11?

3082


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

1954


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

2014


What is the problem of ordered sequential files access?

1109


What is rmode(24)

1099


What kind of error is trapped by on size error option?

1176