dbTalk Databases Forums  

Abort Package

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


Discuss Abort Package in the microsoft.public.sqlserver.dts forum.



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

Default Abort Package - 06-10-2004 , 08:44 AM






How can I abort a package. I can't use a transaction as one of my activex
scripts uses a shell command so success or failure will not show up in the
workflow. I need to test for a condition in activex task and abort the
entire package accordingly. Regards, Chris.



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Abort Package - 06-10-2004 , 09:03 AM






By abort I will take it you mean "Exit gracefully". You can do this using
the object model quite easily.

Have a look at a few example here

Workflow
(http://www.sqldts.com/default.aspx?103)

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Chris Kennedy" <chrisknospam (AT) cybase (DOT) co.uk> wrote

Quote:
How can I abort a package. I can't use a transaction as one of my activex
scripts uses a shell command so success or failure will not show up in the
workflow. I need to test for a condition in activex task and abort the
entire package accordingly. Regards, Chris.





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.