dbTalk Databases Forums  

Re: Package Success even with Task Failure

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


Discuss Re: Package Success even with Task Failure in the microsoft.public.sqlserver.dts forum.



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

Default Re: Package Success even with Task Failure - 08-27-2004 , 04:29 AM






Why not turn off the email on error if you don't want it?
There is no way to override the result, so can you test for the condition
that will subsequently cause failure, and hence skip the task to prevent the
failure happening?

One kludge would be to call the package from a parent package using the
Execute Package Task. Failed task will not bubble up to the parent package,
unless you set Fail on first error on in the child package.


--
Darren Green
http://www.sqldts.com


"Don Stanley" <DonStanley (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have a DTS package that has a transform step that loads FoxPro data and
transforms it to SQL Server, then runs some other SQL tasks. This package
is
scheduled to run every five minutes and send an e-mail on error. However,
I
don't want to get notified if just the FoxPro transform fails since it
seems
to about every 20 times (every hour in my case). Is there a way I can set
the package result to "Success" even if that particular task fails? I've
tried using a sub-task with an "On Failure" precedent, and it executes,
but
the package result is stiull "Failure".

Thanks,

Don



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.