dbTalk Databases Forums  

DTS Creating Steps/Tasks and precendence

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


Discuss DTS Creating Steps/Tasks and precendence in the microsoft.public.sqlserver.dts forum.



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

Default 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!

Reply With Quote
  #2  
Old   
Yuan Shao
 
Posts: n/a

Default RE: DTS Creating Steps/Tasks and precendence - 04-08-2004 , 07:05 AM






Hi Warm,

It seems you want to use Microsoft ActiveX scripts to customize the
execution of steps in a Data Transformation Services (DTS) package. Please
check the suggestions in the following article.

Using ActiveX Scripts in a DTS Workflow
http://msdn.microsoft.com/library/de...us/dtssql/dts_
elemwkflow_0793.asp

I also found the following articles for your reference.
VBScript Interfaces in SQL Server 2000 Let You Transform Data and Provide
Reports to Your Users
http://msdn.microsoft.com/msdnmag/is...erver2000/defa
ult.aspx

Using ActiveX Scripts in DTS
http://msdn.microsoft.com/library/de...us/dtssql/dts_
addf_ax_06er.asp

I am looking forward to hearing from you soon.

Regards,

Michael Shao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


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.