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
 

 

How to concatenate two values side by side

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: How to concatenate two values side by side
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: 1439
Location: Bangalore,India

PostPosted: Wed Apr 04, 2007 4:07 pm    Post subject:
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 Moderator


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

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

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

http://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    Post subject: Re: How to concatenate two values side by side
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    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 Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm


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