dbTalk Databases Forums  

Schedule DTS package fails

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


Discuss Schedule DTS package fails in the microsoft.public.sqlserver.dts forum.



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

Default Schedule DTS package fails - 12-01-2004 , 02:41 AM






I have a number of DTS packages that execute over night to sent spreadsheets
to offices around the globe. The spreadsheet shows what has changed in the
area of the database that the office is concerned with. The first step in
the DTS package is to count the number of changes, if it is Zero an activeX
package reports failure and the package is halted.

The problem is when I check that everything is working the job shows that it
failed. I have tried putting all sorts of dummy steps after the failure but
SQL Server Agent still reports the job as a failure becuase one step failed.

Does anybody have any fixes?

Many Thanks

Mike



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

Default Re: Schedule DTS package fails - 12-01-2004 , 07:49 AM






Don't fail the task, use a workflow script instead. An example of this
concept is shown here-

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


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

"Mike T" <mike (AT) trebilcock (DOT) net> wrote

Quote:
I have a number of DTS packages that execute over night to sent
spreadsheets
to offices around the globe. The spreadsheet shows what has changed in
the
area of the database that the office is concerned with. The first step in
the DTS package is to count the number of changes, if it is Zero an
activeX
package reports failure and the package is halted.

The problem is when I check that everything is working the job shows that
it
failed. I have tried putting all sorts of dummy steps after the failure
but
SQL Server Agent still reports the job as a failure becuase one step
failed.

Does anybody have any fixes?

Many Thanks

Mike





Reply With Quote
  #3  
Old   
Mike T
 
Posts: n/a

Default Re: Schedule DTS package fails - 12-01-2004 , 11:43 AM



Thanks, it looks good. I'll see whathappens tonight!

Many Thanks

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

Quote:
Don't fail the task, use a workflow script instead. An example of this
concept is shown here-

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


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

"Mike T" <mike (AT) trebilcock (DOT) net> wrote in message
news:uXG1kD41EHA.2292 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
I have a number of DTS packages that execute over night to sent
spreadsheets
to offices around the globe. The spreadsheet shows what has changed in
the
area of the database that the office is concerned with. The first step
in
the DTS package is to count the number of changes, if it is Zero an
activeX
package reports failure and the package is halted.

The problem is when I check that everything is working the job shows
that
it
failed. I have tried putting all sorts of dummy steps after the failure
but
SQL Server Agent still reports the job as a failure becuase one step
failed.

Does anybody have any fixes?

Many Thanks

Mike







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.