Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compare two files using Sort

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

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Tue May 10, 2011 7:50 am    Post subject: Compare two files using Sort
Reply with quote

Hi
My Requirement is,
I need to compare the two files of different LRECL and to write the Matched record into one output file and the unmatched record into another output file .
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1825
Location: UK

PostPosted: Tue May 10, 2011 10:32 am    Post subject:
Reply with quote

!st step - post in the correct place. Do you use DFSORT - post in the DFSORT section - or SYNCSORT - post in the JCL section.
2nd step - suggest that maybe JOINKEYS is what you need so read up on that.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue May 10, 2011 2:25 pm    Post subject: Reply to: Compare two files using Sort
Reply with quote

And also, start from these:

http://www.ibmmainframes.com/viewtopic.php?t=51959&highlight=match
http://www.ibmmainframes.com/viewtopic.php?t=51948&highlight=match
http://www.ibmmainframes.com/viewtopic.php?t=51274&highlight=match
http://www.ibmmainframes.com/viewtopic.php?t=50985&highlight=match
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 SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us