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

How to concatenate two values side by side


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abyss232006

New User


Joined: 31 Jan 2007
Posts: 3
Location: Kokata

PostPosted: Wed Apr 04, 2007 4:00 pm
Reply with quote

Can somebody help me to solve this problem using ICETOOL

Suppose file A got values as
1
2
3
4
and file B got values as
a
b
c
d

now output file C should contain values like

A B
-- --
1 a
2 b
3 c
4 d

That is , I want to concatenate two values side by side taken from two different files, in to a third output file.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Apr 04, 2007 4:07 pm
Reply with quote

abyss232006,

It is provided in SORTTRCK pdf. Search the DFSORT forum for sorttrck link.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Apr 05, 2007 4:50 am
Reply with quote

You can use the technique shown in the "Join fields from two files record-by-record" Smart DFSORT Trick at:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/
Back to top
View user's profile Send private message
abyss232006

New User


Joined: 31 Jan 2007
Posts: 3
Location: Kokata

PostPosted: Wed Apr 11, 2007 4:13 pm
Reply with quote

Thanks Frank ,Murli I found the trick in the book.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
Search our Forums:

Back to Top