For a pure DTS solution that is pretty much your only solution. I cannot tell why you are getting blank lines, but I would suspect that there may be an error in your code. Perhaps you can post it. If you have verified that this is coming from the transformation than you can code around that. But it should not be doing that. Can you tell us the source for the individual files?
As another aproach consider that the DOS Copy command can be used to append files as in:
Copy FileA + FileB + FileC FileX
This would seem a little cheesy, but if the files are very big, I suspect this would be vastly faster than writing one line at a time.
Main Topics
Browse All Topics





by: nmcdermaidPosted on 2007-03-05 at 15:16:50ID: 18658233
Have you tried using this DOS syntax instead of ActiveX:
COPY FIle1.TXT + FIle2.TXT + FILE3.TXT OutputFIle.TXT
As I'm sure you agree theres a lot less code there and it'll probably fix your problem.