View previous topic :: View next topic
|
Author |
Message |
Mahi_e
New User
Joined: 10 Dec 2010 Posts: 43 Location: hyderabad
|
|
|
|
I have a Question.....?
ie.,
Supoose i am using JCL Sort Technique
using SUM FIELDS=NONE, Which eliminated Duplicates.
ie,., like this
file A
1001
1001
1001
1002
1003
file B
1001
1002
1003
My doubt is which records are eliminated, either the first two or the remaining two records leaving fisrt one. please explain..
Thanks in Advance............. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
With DFSORT, if EQUALS is in effect, the first record of duplicates will be removed. If NOEQUALS is in effect, any record of duplicates can be removed. If you want to guarantee that the first record of duplicates will be removed, specify:
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000080 |
|
Back to top |
|
|
Mahi_e
New User
Joined: 10 Dec 2010 Posts: 43 Location: hyderabad
|
|
|
|
Thank You, Frank for your Reply.......... |
|
Back to top |
|
|
|