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

How can values be passed from the job stream to an executable program?

0 Answers  


Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?

7 Answers   IBM,


Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!

2 Answers  


what is the job entry system used in your project?

3 Answers  


GDG Create syntax ?

4 Answers   Xansa,






Can you delete the GDG base without deleting GDG generations ?

7 Answers   Cap Gemini,


What is one line to pass PARM from JCL to COBOL?

0 Answers  


What are the kinds of job control statements?

3 Answers  


What is the function of dd disp parameter?

0 Answers  


How to submit jcl through a cobol program?

0 Answers  


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


What does S0C4 error mean?

8 Answers  


Categories