HOW TO SORT RECORDS IN VSAM FILE?

Answer Posted / pooja

by using pgm=sort
and in sysin dd pass sort fields(first coloumn no,lenth of
the character,ch,a/d)
a for ascending and d for descending

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster?

562


Explain the biggest disadvantage of using a vsam dataset?

576


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

588


What is the place for VSAM KSDS?

666


Can you delete vsam files with the delete option of the disposition parameter of jcl?

650






explain in brief what are the 3 types of vsam files?

626


Define a path?

593


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

666


what are the codes returned by the ams (access method services) command during the execution in vsam?

760


Is it slower if you access a record through alt index as compared to primary index?

587


Explain the significance of the shareoptions parameter?

530


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

702


What are the steps involved in access method services?

530


What are the different versions of gdg named?

556


Why is it required to have a keyed directed retrieval?

549