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
 
DFSORT/ICETOOL Help for joining two files

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

New User


Joined: 01 Sep 2006
Posts: 39
Location: Chennai, India

PostPosted: Wed Jan 28, 2009 11:03 am    Post subject: DFSORT/ICETOOL Help for joining two files
Reply with quote

Hi,

I have two files both fixed length file of length 13.

File 1:
01 AA
02 BB
03 DD
04 CC

File 2:
01 0000005
02 0000137
01 0000302
03 0000472
03 0000503

Is there any way to get the output as mentioned below using ICETOOL/DFSORT:
01 AA 0000005
02 BB 0000137
01 AA 0000302
03 DD 0000472
03 DD 0000503

or kindly suggest me the best way to acheive this.

Regards,
Ram.
Back to top
View user's profile Send private message

DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Wed Jan 28, 2009 11:31 am    Post subject:
Reply with quote

Hi,

See the "Join fields from two files record-by-record" Smart DFSORT Trick at: www.ibm.com/systems/support/storage/software/sort/mvs/tricks/
Back to top
View user's profile Send private message
vinothsubramanian

New User


Joined: 01 Sep 2006
Posts: 39
Location: Chennai, India

PostPosted: Wed Jan 28, 2009 1:13 pm    Post subject:
Reply with quote

Thanks for your help. The solution you provided worked for me.
Back to top
View user's profile Send private message
DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Wed Jan 28, 2009 10:56 pm    Post subject:
Reply with quote

You are welcome..That's not by me that's by DFSORT Development Team..so Thanks to them.. icon_smile.gif
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 Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm

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