I'm creating 5 txt files with DTS getting info from SQL tables, now I need to create a 6th file (log) validating that the first 5 files are well done, but can't imagine if ther is a way, hope my explanation is ok.
If the standard logging available in DTS does not work for you, then you could create a text file before your package starts (all this would be using ActiveX script task).
Then, after each export completes, use ActiveX to check for the created file's existence, and whatever else you need to check to ensure that the job is done well. You can then write a message to your log file stating if the file was successfully created or not (and why if you are feeling brave).
Hope this helps,
Alex
Ignorance of certain subjects is a great part of wisdom
I am afraid that I don't have time at the moment to walk you through setting up your package. Are you familiar with use of the ActiveX script task?
If you tell me exactly what this log should include, I can try to give you an idea on how to create it. Are you only going to be checking for the file's existence (ie not performing any sort of internal validation)?
Hope this helps,
Alex
Ignorance of certain subjects is a great part of wisdom
I just need to put the information about 5 other previous created files. Exportation date & time, the name of the file (static field) count of registries and balance but I can leave this last in blank.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.