dbTalk Databases Forums  

Using ActiveX Script to Disable Step

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


Discuss Using ActiveX Script to Disable Step in the microsoft.public.sqlserver.dts forum.



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

Default Using ActiveX Script to Disable Step - 05-07-2004 , 06:26 PM






Hi
We have a package that has about 30 DataPump Tasks. We use this package to load the data from a temporary database to a production database. Since the load is into a prodn database, the tables have to be loaded in a sequece. So, we have precedence constraints defined for each task so that if the previous task fails, we do not load the subsequent tables

It so happens that the first 10 tables have been loaded successfully. But there is an issue with the 16th table. So, the package fails. We then look at the error and then manually load the data for remaining tables (by executing each task manually). We would like to automate this process

So, at the beginning itself, the user enters the task num from which the load should happen. Based on this input the package should execute the tasks. For eg. the user enters 3. This means that the first 2 tasks should not be executed (since the data for these tables is already loaded in the previous run)

Would really appreciate if someone can give me some pointers to how this can be done

I have tried to do some disabling etc. but it is not working

Thank
Raja

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.