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 to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5358


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

2203


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1514


In which area will you utilize 88 level items in cobol?

1147


What is the Purpose of Pointer in the string?

1062


What guidelines should be followed to write a structured cobol prgm?

1136


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

853


What is a scope terminator give example?

1090


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1306


what is search and searchall?what is the diffrence between them?give an best example?

6775


How do get the result of your program directly on your pc?

2327


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2090


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1202


What is the difference between PIC 9.99 and PIC9v99?

1321


What is the utilization of copybook in cobol?

1170