IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DFSORT/ICETOOL Help for joining two files


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
Reply with quote

Hi,

See the "Join fields from two files record-by-record" Smart DFSORT Trick at: Use [URL] BBCode for External Links
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top