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

For what purpose steplib and joblib are used ?

1140


what is use of dsn parameter in dd statement?

1161


What is the difference between the positional and keyword parameters? Give examples.

1261


which utility is used to sort a file in jcl?

1224


what are JCLLIB and STEPLIB in JCL?

1176


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1326


Can I share my data with other jobs? How?

1117


How to alter the parameters for the existing gdg?

1204


What is the function of a dd statement?

1209


How do you access an uncatalogued dataset in a jcl?

1219


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1162


List the various advantages of using jcl language?

1456


How to pass data to a program that is coded in an exec statement?

1336


what is the use of IEBGENER utility?

1174


What is the purpose of dd?

1242