dbTalk Databases Forums  

Return Code from Execute Process Task

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


Discuss Return Code from Execute Process Task in the microsoft.public.sqlserver.dts forum.



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

Default Return Code from Execute Process Task - 12-15-2004 , 03:45 AM






Hi

I have created a DTS package.
I one of the steps I execute a exe.application that if I want to return a
value if it was successful or not.
In execute process task a can set a return code for success. But what if a
want to return a failure code an continue the dts package?

How do I do this?

/magnus



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

Default Re: Return Code from Execute Process Task - 12-16-2004 , 02:15 AM






If the task fails and you have more to run then just ensure you have used On
Completion or On Failure workflow constraints from then failing task to the
following task. Also ensure that you have turned off the Fail on first error
option found under package properties.



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

"Magnus" <magnus.hagberg (AT) qbranch (DOT) se> wrote

Quote:
Hi

I have created a DTS package.
I one of the steps I execute a exe.application that if I want to return a
value if it was successful or not.
In execute process task a can set a return code for success. But what if a
want to return a failure code an continue the dts package?

How do I do this?

/magnus





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.