dbTalk Databases Forums  

Failed DTS Package

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


Discuss Failed DTS Package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
richard s via SQLMonster.com
 
Posts: n/a

Default Failed DTS Package - 08-19-2005 , 04:04 PM






Can someone help with a code that will automatically re-execute a failed
package.., try to re-execute it three (3)times, then exit if failed after
the third time. can someone help with a code?

Thanks


--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #2  
Old   
John
 
Posts: n/a

Default Re: Failed DTS Package - 08-20-2005 , 04:47 PM






The simplest way to accomplish this would be to "encase" your package in an
ActiveX script loop which examined the individual step statuses as well as
that of the package after the final step. However, I think that you may
have other problems if you are anticpating this scenario. Maybe you should
look at why the package is failing, rather than trying to get DTS to bash
its head 3 times against bad input.
John Glass

"richard s via SQLMonster.com" <forum (AT) SQLMonster (DOT) com> wrote

Quote:
Can someone help with a code that will automatically re-execute a failed
package.., try to re-execute it three (3)times, then exit if failed after
the third time. can someone help with a code?

Thanks


--
Message posted via http://www.sqlmonster.com



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.