Hello Fergus,
Are you using DTS or SSIS
In SSIS the package's event handlers fire for the same event handler in its
tasks. You could look at the SourceName property to find out which executable
fired the handler.
In DTS to have something fire at the end of a package would be to use Workflow.
If you fired the package programmatically you could retrieve what happened
in the package.
Allan
Quote:
Can I define a step to be always executed as the last step of a
package? I want to log the error status of each other step in a
database table. I know that the package itself looks at the final
status of all the steps at the end and issues a message for each
failure, but I want to write the same info to a table for historical
purposes.
I thinkI could put an "on completion" from every step to my error
reviewer step, but that means a very messy diagram for what seems like
a logical housekeeping task, like part of a destructor. |