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 main function of key sequenced data set in vsam?

523


How does control intervals and control areas related to each other?

548


What is the purpose of relative record data set used in vsam?

678


State the differences between vsam and non-vsam files?

560


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

563






explain the information contained in ci

596


Explain the function of the relative record data set?

539


What is the place for VSAM KSDS?

667


what is buffering and how does it apply to vsam files ?

703


how many buffers are allocated to vsam ksds and esds?

705


What is a lds (linear data set)?

548


difference between vsam and database tables

629


is it necessary that all versions of the gdg have to be of the same record length?

666


Why is it required to have a keyed directed retrieval?

549


What is a base cluste?

597