DTS Creating Steps/Tasks and precendence -
04-07-2004
, 02:30 PM
Well I've done it now.
I've gone and used activeX to create a SQLCopyObjects task, because I
wanted to have full dynamic control over the properties of that task
including objects to be copied, flags, etc.
That part worked GREAT, the tasks and steps are visible in disconnected
edit, and they appear there right after the active x step gets run.
They are not visible however, and so now I am trying to figure out; once
they are created, how do I run them, and then get the package back on
track?
Right now I create one copy objects task then I hope to execute it then
move on to another activeX step which creates the next copy objects step
and then runs it.
Here is the execution order I am hoping to achieve.
ActiveX step creates the first SqlCopyObjects Task and Step and sets
that step to run once the current activex step reports success.
SqlCopyObjects step runs.
Second ActiveX step runs and creates the second SqlCopyObjects step,
sets it to run after the current step runs successfully
Second SQLCopyObject step runs
Finally, a cleanup step runs that destroys the steps and tasks, and of
course any precedence that has been established.
Any ideas on this?
Warm Regards,
Edward R. Hunter
Developer, Dba
comScore Networks, Chicago IL (USA)
http://comscore.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! |