View previous topic :: View next topic
|
Author |
Message |
unnam123
New User
Joined: 23 Feb 2006 Posts: 3 Location: pune
|
|
|
|
Hi,
I want to combine the columns from the two files and generate a single output file. How can I do it through the JCL?
Ex: File A having col1, col2, col3, col4
File B having col5, col6, col7, col8
I need File C with the columns col1, col2, col3, col5, col6, col7
Thanks
U.H |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
unnma,
Quote: |
want to combine the columns from the two files and generate a single output file |
This has been discussed so many times. Do search this forum for the keyword "SPLICE".
Try and post if you face any difficulty. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
UH,
Depending on what you want to do exactly, you can use the technique shown in the "Join fields from two files on a key" or "Join fields from two files record-by-record" Smart DFSORT Trick at:
Use [URL] BBCode for External Links |
|
Back to top |
|
|
|