HOW TO SORT RECORDS IN VSAM FILE?

Answer Posted / sumit agnihotri

when we load a records through the REPRO command in the VSAM file so the input file must be sorted on the primary key using SORT utility ..
//sysin dd *

sort fileds = (1,5,ch,a)
/*
//

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 the probability of a complete system distortion under high end low performing multiprocessor job?

2020


Why is master catalog used in vsam?

571


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

595


What is a ca split?

594


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

666






What is the main function of key sequenced data set in vsam?

523


What are the steps involved in access method services?

533


what will happen if there is no secondary allocation made for datasets?

617


we can define the ksds cluster by two ways by using the file-aid or by using the idcams utility. Explain them.

722


What is a base cluste?

597


If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?

626


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

602


What is the function of entry sequenced data set?

639


what do you mean by a vsam split?

571


Explain the difference between lds and esds?

573