Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 dtsrun not showing error

Author  Topic 

lappin
Posting Yak Master

182 Posts

Posted - 2011-08-10 : 05:51:20
I have a legacy DTS running in SQL Server 2008 using dtsrun inside a SQL Agent job. My problem - if there is an error inside the DTS the job is still reporting success. How do I flag an error?

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2011-08-10 : 08:11:38
Is the job step set to On failure action: Quit the job reporting failure (under Advanced for the job step)?

- Lumbago
My blog-> http://thefirstsql.com/2011/07/08/how-to-find-gaps-in-identity-columns-at-the-speed-of-light/
Go to Top of Page

lappin
Posting Yak Master

182 Posts

Posted - 2011-08-10 : 09:20:19
The job itself is reporting success because the procedure executing dtsrun runs ok, the error is inside the dts.
I am currently re-writing the DTS as a merge statement. So thanks anyway.
Go to Top of Page
   

- Advertisement -