If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed

Answer Posted / mahaveer

//SORTXSUM DD DSN=datasetname,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(1,4),RLSE),
// DCB=(RECFM=FBM,LERCL=80,BLKSIZE=800)
.
.
//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE,XSUM
/*

We can see the eliminated duplicate records in sortxsum

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a disposition of (MOD,DELETE,DELETE) mean ?

631


which utility is used a dummy utility?

746


What is catelog procedure and how many catelog procedure to use in one job?

7371


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

642


write a jcl to execute a job by 7:00 am on jan 20,1986?

665






what is use of dcb parameter in dd statement?

745


Explain dfsort utility?

641


What is the purpose of disp parameter?

617


how do you access an uncataloged dataset in a jcl?

803


Is it possible to left uncode disp?

676


What are the parameter we cannot use in procedure?

612


What is the function of the steplib dd statement?

715


What are the 2 types of parameters in dd statement?

618


in ways data can be passed to a COBOL program from JCL?

637


Must tape dataset definitions include vol=ser specifications?

930