IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

which record is eliminated, when it was duplicated


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Wed May 25, 2011 1:23 pm
Reply with quote

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............. icon_biggrin.gif
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed May 25, 2011 10:38 pm
Reply with quote

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:

Code:

    OPTION EQUALS


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
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Thu May 26, 2011 11:17 am
Reply with quote

Thank You, Frank for your Reply.......... icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top