View previous topic :: View next topic
|
Author |
Message |
srini1528 Currently Banned New User
Joined: 25 Apr 2007 Posts: 13 Location: INDIA
|
|
|
|
I have two input files with same no of records and record length, eg. File A and file B. I want to replace all the records of fileA to fileB. Can I do it by Syncsort or ICETOOL utility.
Thanks.
Srinivasan. G |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Srinivasan,
Quote: |
I want to replace all the records of fileA to fileB. |
You mean, overwrite FILEB content with FILEA data. If you are looking for this, use DISP=OLD to overwrite the file data. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
replace all the records of fileA to fileB. |
Copy filea to fileb
or
Instead of using fileB use fileA then no need to copy |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
After this process runs, what should be in FileB?
a. only data from FileA
b. data from FileB followed by data from FileA.
c. data from both files in some sequence.
d. something else.
If d. is the answer, please clarify.
Depending ou what you want as output, the way to get there will be different.
Whichever you need, you can probably do it with your sort product. Keep in mind that Syncsort and ICETOOL are separate products. |
|
Back to top |
|
|
|