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 Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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