dbTalk Databases Forums  

How to Stop DTS Package Execution Using Procedure

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


Discuss How to Stop DTS Package Execution Using Procedure in the microsoft.public.sqlserver.dts forum.



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

Default How to Stop DTS Package Execution Using Procedure - 10-08-2006 , 07:30 AM






Hi i wanted to stop the execution of package, scenario is that there is some
flag variable which i have to check within package and within transformation
to stop or to continue the package execution like in data transform task i
want to check the flag value after every batch so it can stop the transfer of
data if it is no more required.

Thanx
Manoj Kumar

Reply With Quote
  #2  
Old   
Ken
 
Posts: n/a

Default Re: How to Stop DTS Package Execution Using Procedure - 10-08-2006 , 11:19 PM






See if any of these examples will help. They are not specific to your
problem but may give you insight and ideas on how to solve it.

http://www.sqldts.com/default.aspx?103


Reply With Quote
  #3  
Old   
Manoj Kumar
 
Posts: n/a

Default RE: How to Stop DTS Package Execution Using Procedure - 10-09-2006 , 01:47 AM



Hi Ken,
thanx for reply the site you mentioned is very informative but i am still
looking for the solution/help related to my problem any help regarding to
that will be great.

"Manoj Kumar" wrote:

Quote:
Hi i wanted to stop the execution of package, scenario is that there is some
flag variable which i have to check within package and within transformation
to stop or to continue the package execution like in data transform task i
want to check the flag value after every batch so it can stop the transfer of
data if it is no more required.

Thanx
Manoj Kumar

Reply With Quote
  #4  
Old   
Ken
 
Posts: n/a

Default Re: How to Stop DTS Package Execution Using Procedure - 10-09-2006 , 02:58 PM



Manoj,

Please post very specific detail to your problem and I will take a look
when I get home.

Thanks


Reply With Quote
  #5  
Old   
Manoj Kumar
 
Posts: n/a

Default Re: How to Stop DTS Package Execution Using Procedure - 10-10-2006 , 02:17 AM



The specific details are that i am working on dts package that will be
executed to load the data from ODS sources and place that data at staging
area corresponding to every package there is job which will execute the dts
package so what my managers wants that while loading if someone notifies that
the data is not fully prepared for load it needs some more processing than
there must be wayout to forcefully stop the execution of package and the
transaction must be rollbacked so that changes will not reflect in staging
area it will save time and efforts.
I was thinking of to implement this in DTS package by utilizing error output
there is variable which have the value continue/block so before
transformation i can check the variable's value if it is block then move to
error handling routine which will raise error and stops the execution of
package but it can only help before the transformation check while
transformation it cann't help so i want some wayout to stop the package
execution at any stage.
May be this requirement could be completed by someother wayout like i was
thinking of to stop the job but i am not sure wether it will stop the
transformation and if stopped the transaction will be rollbacked.

Thanks and Regards
Manoj Kumar




"Ken" wrote:

Quote:
Manoj,

Please post very specific detail to your problem and I will take a look
when I get home.

Thanks



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.