View previous topic :: View next topic
|
Author |
Message |
rahul sijoriya
New User
Joined: 08 Jan 2007 Posts: 11 Location: hyderabad
|
|
|
|
Hello ,
I want to merge records from two different files into one file as mentioned below:
File 1:
123456789
111111111
232547854
File2:
Test
O/p should be like below:
12345679Test
11111111Test
232547854Test
Please suggest |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Is this something similar to your other post?
Anyway, What you could do is over a value in both the files
Join based on that value as key |
|
Back to top |
|
|
rahul sijoriya
New User
Joined: 08 Jan 2007 Posts: 11 Location: hyderabad
|
|
|
|
Basically both are more and less same....I thought if we can generate similar key in both the files like I did in other post "status" then it is easy to join two files using ICETOOL based upon the key..
in bottom of the requirement , I want second file data (Test) to be attached in file1 for all the records..
There is no key. But we can generate temporary key in middle of the processing which I did in other post and get rid off from temp key when final output will come. So final output should be,
File1 record1+file2 record
File 1 record2+ file 2 record
So on
Same file2 record will be appended in all file1 records.. |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Ok so what have you tried so far? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
Back to top |
|
|
|