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

can we read records in a file from botom to top. if
possible how can we read

Answer Posted / raj

yes,it is possible through JCL.

1. QSAM (sequential) file. You can run it thru SORT utility
adding SEQNUM and then sort then sort by SEQNUM in DESC
order
2. VSAM: In CICS you can read backward using READREV;
3. VSAM: I Batch unload the VSAM file using SORT in DESC
order by key value.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules for performing sort operation?

1225


What is the difference between perform … with test after and perform … with test before?

1458


What is the difference between comp and comp-3 usage?

1201


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

2592


example for sub strings ? and refernce modifications whit output pls

2317


What is length is cobol?

1101


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

1215


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

1255


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

1242


what is the use of outrecord?

2221


Have you used comp and comp-3 in your project? And how?

2488


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

1216


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1256


What is cobol?

1238


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

1148