dbTalk Databases Forums  

failing step fails job

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


Discuss failing step fails job in the microsoft.public.sqlserver.dts forum.



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

Default failing step fails job - 01-17-2005 , 10:01 AM






Hi all
I am generating an error in one step so the dts execution will flow to a
different direction
than the one it would normaly choose (on that step's success).

The thing is that when I schedule it in to a job the step's failure fails
the job.. although the package continues
successfuly to the rest of the following steps.

How should i prevent the job from failing in this case??

Thank you very much
Rea



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: failing step fails job - 01-18-2005 , 03:33 AM






The only thing to do is to prevent any steps from failing during execution.

Some strategies that may help-

How can I check if a file exists?
(http://www.sqldts.com/default.aspx?211)

Skip the execution of an individual Task
(http://www.sqldts.com/default.aspx?214)


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

"Rea Peleg" <rea_p (AT) afek (DOT) co.il> wrote

Quote:
Hi all
I am generating an error in one step so the dts execution will flow to a
different direction
than the one it would normaly choose (on that step's success).

The thing is that when I schedule it in to a job the step's failure fails
the job.. although the package continues
successfuly to the rest of the following steps.

How should i prevent the job from failing in this case??

Thank you very much
Rea





Reply With Quote
  #3  
Old   
Rea Peleg
 
Posts: n/a

Default Re: failing step fails job - 01-19-2005 , 05:55 AM



Thanks alot Darren!
Then the only time you would use the 'on failure' workflow option in dts
will be to perform cleaning actions before the package and its job end..
Rea



"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote

Quote:
The only thing to do is to prevent any steps from failing during
execution.

Some strategies that may help-

How can I check if a file exists?
(http://www.sqldts.com/default.aspx?211)

Skip the execution of an individual Task
(http://www.sqldts.com/default.aspx?214)


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

"Rea Peleg" <rea_p (AT) afek (DOT) co.il> wrote in message
news:e%23GqL6K$EHA.3236 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Hi all
I am generating an error in one step so the dts execution will flow to a
different direction
than the one it would normaly choose (on that step's success).

The thing is that when I schedule it in to a job the step's failure
fails
the job.. although the package continues
successfuly to the rest of the following steps.

How should i prevent the job from failing in this case??

Thank you very much
Rea







Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: failing step fails job - 01-19-2005 , 06:03 PM



In message <eejvl6h$EHA.3824 (AT) TK2MSFTNGP10 (DOT) phx.gbl>, Rea Peleg
<rea_p (AT) afek (DOT) co.il> writes
Quote:
Thanks alot Darren!
Then the only time you would use the 'on failure' workflow option in dts
will be to perform cleaning actions before the package and its job end..
Rea

That's about it. I never design something to fail, because of the issue
you describe if nothing else.


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.