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 “Cond= even” and “Cond=only”?

1259


Describe the various parameters utilized in the creation of a gdg?

1114


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

1152


What do you know about jcl?

1097


What is the difference between run mode and addressing mode?

1179


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

1206


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1191


What is condition checking in jcl? Is this possible?

1070


Is it possible to define dd statements as you want?

1076


Why include statement is used in a jcl?

1133


How is a type of file defined in the jcl that executes the cobol program?

1152


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

1517


What statement can be used to send data to another mvs jes3 node?

1592


How do you overcome this limitation ?

1167


What is the significance of addrspc parameter in exec statement?

1154