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: 1788
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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