Quantcast
Channel: SSIS: Custom Logging Using Event Handlers
Viewing all articles
Browse latest Browse all 119

re: SSIS: Custom Logging Using Event Handlers

$
0
0

Hi Jamie,

Thanks for the great info on event handling!  I got 90% done, but I am still having trouble capturing the ContainerStartTime on tasks that run in parallel.  

Do you have an example I can download?  In my test environment I copied your Sequence Container multiple times so they would run in parallel, and this is where my issue with the ContainerStartTime begins.  By setting on OnPostExecute_SQL variable to Evaluate Expression = False, and then using an OnPostExecute_SQL_Local variable with Evaluate Expression = True, I am able to accurately capture the Insert, Update, and DeleteCounts.  However, the ContainerStartTime taken fromt hash table is not working.  

If I add the OnPreExecute and OnPostExecute script tasks to the individual tasks that run in parallel, my ContainerStartTime is something like 12/1/1989  00:11:00.  The actual value is too big for the DIFF function calculating the duration.

Thanks for your help!

Jason


Viewing all articles
Browse latest Browse all 119

Latest Images

Trending Articles



Latest Images