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 SORT RECORDS IN VSAM FILE?

Answer Posted / sumit agnihotri

vsam file record are enter in a sorted order but when we
retrieve a records in KSDS so we specify a primary key
(unique) , in ESDS we enter a record in any order but
retrieve a records through the RBA (Relative byte address)
who r auto-generated, and also enter a record in any order
but retrieve records through the RRN (relative record
number)....
so the Answer is that we enter a records in a VSAM file
in a sorted order ....

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of the file status clause in the select statement in vsam?

1108


What is speed parameters in define cluster command?

1030


is it required that primary key values have to be unique? Do alternate key values have to be unique?

1050


Define dynamic processing?

1004


How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?

1028


Why is it required to have a keyed directed retrieval?

1019


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

1150


Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.

2413


What is the main function of key-sequenced data set?

1021


Using alternate indexes in batch program?

1104


What are the different commands used in idcams for vsam?

1052


What is a lds (linear data set) and what is it used for?

1002


what do you mean by a upgrade set in vsam?

1061


What are the building blocks used in vsam datasets?

980


what is the meaning of each of the values in shareopts(2 3)?

1021