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
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 |
How can values be passed from the job stream to an executable program?
Can we DELETE all the Generations of a GDG at once, WITHOUT deleting the GDG itself ?
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!!
what is the job entry system used in your project?
GDG Create syntax ?
Can you delete the GDG base without deleting GDG generations ?
What is one line to pass PARM from JCL to COBOL?
What are the kinds of job control statements?
What is the function of dd disp parameter?
How to submit jcl through a cobol program?
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.
What does S0C4 error mean?