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 

Compare 2 files and generate a 3rd file

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


Joined: 24 Mar 2006
Posts: 25
Topics: 10

PostPosted: Thu Dec 13, 2007 6:47 am    Post subject: Compare 2 files and generate a 3rd file Reply with quote

I have a requirement to compare 2 files (File 1 and File 2) and generate a third file such that it contains those records which are not in file 2. Is it possible to do it with the SORT utility ?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Dec 13, 2007 6:56 am    Post subject: Reply with quote

obviously you have not searched the utilities forum or looked at any of the stickys in the utilities forum.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Thu Dec 13, 2007 7:02 am    Post subject: Reply with quote

ssd,

Check the below links.

http://www.mvsforums.com/helpboards/viewtopic.php?t=5399
http://www.mvsforums.com/helpboards/viewtopic.php?t=11&highlight=match
Back to top
View user's profile Send private message Send e-mail
ssd
Beginner


Joined: 24 Mar 2006
Posts: 25
Topics: 10

PostPosted: Thu Dec 13, 2007 9:12 am    Post subject: Reply with quote

Thankyou all for your help
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Thu Dec 13, 2007 9:58 am    Post subject: Reply with quote

If you have SyncSort for z/OS 1.2, you can accomplish this in a single pass of the data using JOIN.
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
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