MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Duplicate record count using SORT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
csk
Beginner


Joined: 20 Sep 2006
Posts: 11
Topics: 5

PostPosted: Tue Sep 25, 2007 4:45 am    Post subject: Duplicate record count using SORT Reply with quote

Hi team,

I have a file which has been sorted and has duplicates - intentionally(haven't used sumfields to eliminate them)
Using SORT, Is it possible to get the count of each repeated record in another file ?

Thanks in advance.

Regards,
csk
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Tue Sep 25, 2007 5:10 am    Post subject: Reply with quote

check the below links

http://www.mvsforums.com/helpboards/viewtopic.php?t=6007&highlight=duplicate+records+count

http://www.mvsforums.com/helpboards/viewtopic.php?t=8269&highlight=duplicate+records+count
Back to top
View user's profile Send private message Send e-mail
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Tue Sep 25, 2007 11:04 am    Post subject: Reply with quote

csk,

If those links don't help, please show an example of the records in your input file and what you expect for output. Give the RECFM and LRECL of the input file. Give the starting position, length and format of the relevant fields.
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group