Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Removing duplicates using DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Hari Kumar

New User


Joined: 28 Jul 2005
Posts: 19

PostPosted: Tue Dec 12, 2006 1:46 pm    Post subject: Removing duplicates using DFSORT
Reply with quote

Hi,

In DFSORT, if there is any duplicate record found then i have to eliminate both the records. what is the command ??

I know in ICETOOL we can use NODUP. I need DFSORT command.
Back to top
View user's profile Send private message

prafull

New User


Joined: 08 Dec 2006
Posts: 48

PostPosted: Tue Dec 12, 2006 3:33 pm    Post subject:
Reply with quote

in sort card use ,
SUM FIELDS=NONE
after sort
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1188
Location: Bangalore,India

PostPosted: Tue Dec 12, 2006 3:40 pm    Post subject:
Reply with quote

Hey prafull,

It would not eliminate both the records it will keep one record .
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Dec 12, 2006 9:52 pm    Post subject:
Reply with quote

Quote:
I know in ICETOOL we can use NODUP. I need DFSORT command.


SELECT with NODUPS will do that. I don't understand why you need a DFSORT command rather than a DFSORT/ICETOOL command. If you have DFSORT, then you have DFSORT's ICETOOL. Your site's payment for DFSORT covers the exta functions available with ICETOOL (which has been avaiilable with DFSORT since 1991), so why not use it?

Quote:
in sort card use ,
SUM FIELDS=NONE
after sort


SUM FIELDS=NONE is equivalent to SELECT with FIRST. All of the other functions supported by DFSORT's ICETOOL (NODUPS, ALLDUPS, FIRSTDUP, LASTDUP, etc) cannot be done with SUM FIELDS=NONE.
Back to top
View user's profile Send private message
Hari Kumar

New User


Joined: 28 Jul 2005
Posts: 19

PostPosted: Thu Dec 14, 2006 3:53 pm    Post subject:
Reply with quote

Thanks lot for your information. I am using NODUPS option.

Regards,
Hari
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us