dbTalk Databases Forums  

Getting a Scheduled Job to Fail

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


Discuss Getting a Scheduled Job to Fail in the microsoft.public.sqlserver.dts forum.



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

Default Getting a Scheduled Job to Fail - 11-01-2006 , 10:00 AM






I set up a DTS package which loads data from an external system to SQL
Server. When there were data exception errors ie invalid dates, the step
would fail but the job would complete. I checked off Fail Package on First
Error in Package Properties and Fail Package on Step Error on WorkFlow
Properties for that step. Now when the package runs, the step continues to
fail and there is an informational message at the end of the job saying it
failed. The problem is when I run it as a scheduled job, it ends successfully.

1) Is there a way to insure that as a scheduled job if any step fails, the
job ends
unsuccessfully ?
2) Is there a way to stop processing as soon as a step fails instead of
wait until the
end of the job ?



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.