IN DFSORT sum fields=none is usec to remove duplicates.how
to write the duplicates in another dataset?

Answer Posted / madhu s reddy

.
.
//SORTXSUM DD DSN=UID.DUPS,DISP=SHR
//SYSIN DD *
SORT FIELDS = (10,5,CH,A)
SUM FIELDS = NONE,XSUM
/*
.
.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is a type of file defined in the jcl that executes the cobol program?

817


What are steplib and joblib?

821


What is the difference between run mode and addressing mode?

726


Explain the function of //cntl statement?

747


What is the function of job statement in jcl?

724






For what purpose steplib and joblib are used ?

760


Are there any set of rules for the names of the steps used in a job?

731


Is condition checking possible in jcl?

828


What is Cataloged Procedures?

794


what is the use of JCL?

763


List the different components of jcl statement?

783


how can the same proc be re-used and called by many jobs?

1033


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

888


What is condition checking in jcl? Is this possible?

706


what operation is performed by job statement?

740