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

The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1504


i want to store 20 digits . how will u do it in cobol ?

1322


What is the function of //cntl statement?

1265


Can I share my data with other jobs? How?

1025


Is it possible to code instream data in a PROC?

1249


what operation is performed by job statement?

1060


What are some jcl statements that are not allowed in procedures?

1172


What does a disposition of (MOD,DELETE,DELETE) mean ?

1070


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2402


How does the jcl specify the job to os?

1095


Suppose I have five jobs to do. But I want to hold one?

1070


how you will the direct the data to spool using sysout option?

2354


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1079


What are the parameters that are used in creating a gdg?

1145


Is their any limit for data sets?

1116