dbTalk Databases Forums  

email step results at end for each step

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss email step results at end for each step in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kdabda
 
Posts: n/a

Default email step results at end for each step - 02-03-2004 , 11:36 AM






I have created a few DTS with about 20 steps each. I would like to get an email for the step that has failed, and only if it failed. Is there any way to create on step that will send an email with the information of all the DTSSteps if one of them failes. I am trying to create an activex and then trying to use the oStep.ExecutionResults, but from what I understand I would have to load the dts from the activex script to collect all those errors. Any other ideas

Can I use the create email task and put in the error message there? If so how. Thanks for hte help, just rying to get the most information with the least amount of work


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: email step results at end for each step - 02-03-2004 , 02:13 PM






How about adapting the script that is here

Execute a package from Visual Basic (VB)
(http://www.sqldts.com/default.aspx?208,2)



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"kdabda" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have created a few DTS with about 20 steps each. I would like to get
an email for the step that has failed, and only if it failed. Is there any
way to create on step that will send an email with the information of all
the DTSSteps if one of them failes. I am trying to create an activex and
then trying to use the oStep.ExecutionResults, but from what I understand I
would have to load the dts from the activex script to collect all those
errors. Any other ideas?
Quote:
Can I use the create email task and put in the error message there? If so
how. Thanks for hte help, just rying to get the most information with the
least amount of work.
Quote:



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.