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

How to find duplicates on alphanumeric fields


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

New User


Joined: 17 Jun 2009
Posts: 38
Location: Denver

PostPosted: Wed Nov 03, 2010 11:14 pm
Reply with quote

I have a file where I want to check whether we have duplicates on an alphanumeric field.
SUM FIELDS work only with numeric fields

Can somebody help
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Nov 03, 2010 11:21 pm
Reply with quote

Quote:
SUM FIELDS work only with numeric fields


even with my limited knowledge of DFSORT,
SUM FIELDS=NONE
does not care about the datatype.

So, I would say your comment is wrong.
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 Nov 03, 2010 11:48 pm
Reply with quote

manugeorge2004,

Dick is correct about SUM FIELDS=NONE - it removes duplicates based on the SORT fields which can be alphanumeric (CH). The SELECT operator of DFSORT's ICETOOL can also be used to remove duplicates.

It's not clear what you're trying to do or what you think is wrong. If you want more specific help, show an example of the records in your input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input file.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts How to remove block of duplicates DFSORT/ICETOOL 8
Search our Forums:

Back to Top