|
|
| Author |
Message |
Laxminarsimharao
New User
Joined: 08 May 2007 Posts: 21 Location: hyderabad
|
|
|
|
Question: I have 2 different files with different length, how can i merge the contents of the 2 files based on Pol no into one output file.
files are in below format
File1
Pol no name type
500231 arun P
567901 raj A
400567 josh A
700777 sam P
File2
Pol no Amount percentage
500231 1000 50
567901 500 20
700777 900 10
Output
Pol no name type Amount percentage
500231 arun P 1000 50
567901 raj A 500 20
400567 josh A
700777 sam P 900 10
Please help me. |
|
| Back to top |
|
 |
References
|
Posted: Wed May 07, 2008 2:26 am Post subject: Re: How to Merge 2 different files(rec length diff) data into 1 |
 |
|
|
 |
Skolusu
DFSORT Developer
Joined: 07 Dec 2007 Posts: 242 Location: San Jose
|
|
| Back to top |
|
 |
Laxminarsimharao
New User
Joined: 08 May 2007 Posts: 21 Location: hyderabad
|
|
|
|
Thank you Skolusu.
I got the result. |
|
| Back to top |
|
 |
|
|