View previous topic :: View next topic
|
Author |
Message |
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
I have two files 1 with student name in the first field, having 10 records and blank in the rest of the fields & the second file, also having 10 records having blank in the first field and student details in the second field. I want to splice these files to a single file so that i get the student name in the first field &student detail in the second field.
Code: |
file1
aaaaaa spaces
file2
spaces 1234etyf124
file3
aaaaaa 1234etyf124
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Is there a common key ? |
|
Back to top |
|
|
guruji Warnings : 1 New User
Joined: 13 Apr 2007 Posts: 59 Location: Chennai
|
|
|
|
There is no common key as of now.But it assumed that both the files are in sorted order.and the first record in the file 1 corresponds to the first record in file 2 and so on. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
|