View previous topic :: View next topic
|
Author |
Message |
niks_jude Warnings : 1 Active User
Joined: 01 Dec 2006 Posts: 144 Location: Mumbai
|
|
|
|
I have two files ----
File 1:
sortkey1 F1 F2
File 2:
sortkey2 F3 F4
The sortkey1 and sortkey2 are at same position and of same length in both the files. The fields F1 and F2 are different and at different locations from F3 and F4.
I need a sorted output such that if sortkey in File1 of any record matches that of any record in File2 then output should be the following ---
Sortkey F1 F2 F3 F4.
Also would sort be the best option? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
Back to top |
|
|
niks_jude Warnings : 1 Active User
Joined: 01 Dec 2006 Posts: 144 Location: Mumbai
|
|
|
|
Thanks.It solved my problem. |
|
Back to top |
|
|
|