What is SORT ? How do we eliminate duplicate records ? How
do I select some records using SORT ?

Answer Posted / prashanth

---sort is a sorting of records either in asc/ des order,
---sort field(6,10,ch,ASC) or sort field(6,10,ch,ASC),equal
sum field none
---sort field(6,10,ch,Asc) 6 is the starting position
10 record length
ch for alpnum (X)
asc order of sorting

Is This Answer Correct ?    14 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose I have five jobs to do. But I want to hold one?

750


In sms datasets, what is the function of the dd mgmtclas keyword?

976


How do you access an uncatalogued dataset in a jcl?

817


How can the disposition of sysout datasets be set for an entire jobstream?

951


how would you create a temporary dataset? And where will you use them?

854






What is the function of dd disp parameter?

735


What is Cataloged Procedures?

794


How jcl work to handle various input output file operations?

744


How to do automated restart when a job abend?

897


What is the significance of addrspc parameter in the exec statement?

698


what are the various stages of job processing?

840


What is the difference between run mode and addressing mode?

726


which utility is used a dummy utility?

927


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1013


How does jcl act on a cobol code?

731