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
 

 

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 getting three output files out of JOI... migusd SYNCSORT 7 Mon Jun 05, 2017 11:30 pm
No new posts Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
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
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


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