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

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

778


differentiate between sequential files and esds files in vsam?

824


What is a ci split? What is a ca split?

880


What are the distinctive features of a ksda, key sequenced dataset?

736


What is a ca split?

785


What are the common vsam error conditions and codes?

817


How is record management performed in vsam?

814


how do you define an altindx ? How do you use altindxs in batch, cics programs?

848


How is the sorting of vsam files carried?

820


What is control interval?

788


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

969


What is the device independent method to indicate where a record is stored?

803


Explain the function of the relative record data set?

706


What are the different versions of gdg named?

741


Explain the purpose of the file status clause in the select statement?

723