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 how do you initialize a vsam file before any operation? A vsam with alternate index?

753


Using alternate indexes in batch program?

797


What are the information stored in ci?

750


What are the different commands used in idcams for vsam?

790


Why is it required to have a keyed directed retrieval?

803


can you specify some the distinctive features of a ksds, key sequenced dataset?

774


what do you mean by a vsam slot?

754


explain how many ways you can load data in a vsam cluster?

776


what do you mean by a upgrade set in vsam?

811


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2218


What is the use of lds (linear data set)?

759


what are the additional information you should give in the dd statement while defining the next generation of a gdg?

755


how many buffers are allocated to vsam ksds and esds?

900


What are the access method services used in vsam?

772


What is control interval?

788