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

How To get the last record in VSAM file in cluster?
and How can u get the ksds file records into ur cobol
program ? Pls tell me about these two questions.

Answer Posted / shivani

Move highvalues to the key of the VSAM file and the issue Readnext record command. Then give Readprev command. This will read the last record. In VSAM, there is one command HURBA, Using that we can read the last record, If you want to know more about go to IBM RED BOOKS. You will get the solution.
by using the HURBA we can get the max records by using the CKD count key data we will get the last record

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the JCL statement consists of?

1254


List in order the hierarchical levels of jcl?

1147


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5596


Explain the job statement in jcl?

1213


List the different jcl statements that are not permitted in the procedures?

1124


how can you check if a file is empty using jcl?

1482


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2292


Explain the purpose of dd * statement in jcl?

1119


What is catelog procedure and how many catelog procedure to use in one job?

8787


in ways data can be passed to a COBOL program from JCL?

1285


Explain how can values be passed from the job stream to an executable program?

1309


Can an individual step be restricted from using all the jobs allowed cpu time?

1600


which parameter is use to declare the name of dataset in dd statement?

1317


What is timing concept in mainframe?

2264


In job processing, what happens in execution stage?

1281