Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2019
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 Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts Sort numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts How to Generate JCL using Sort naveen katkuri DFSORT/ICETOOL 7 Tue Mar 13, 2018 3:50 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us