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

Answers were Sorted based on User's Feedback



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

Answer / shivani

using XSUM

Is This Answer Correct ?    10 Yes 1 No

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

Answer / 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

More JCL Interview Questions

if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


When cursor is not closed what is the error?

3 Answers   IBM,


If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?

2 Answers   IBM,


What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?

1 Answers  






i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

2 Answers   IBM,


In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04

3 Answers   Patni,


What are the valid DSORG values ?

3 Answers  


How to check empty file in jcl?

4 Answers   Infosys,


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

3 Answers   Wipro,


Is it possible to left uncode disp? If yes, how?

0 Answers  


How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


Categories