Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling DTS Package
Message
 
To
30/05/2001 12:39:24
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00512750
Message ID:
00512907
Views:
16
>Is there a way to call a DTS Package from another DTS Package. I am trying to use the DTSRUN /~N (name of package) but, I keep getting errors. So if the name of the package is "DTSTestPackage, I perform an Execute SQL Task and then type DTSRUN /~N DTSTestPackage and it doesn't like the '/' or the '~' and with some other kinds of formats I've tried it even gives me back, "Could Not find stored procedure DTSRUN." I don't know what I'm doing wrong.

Hi Greg,

The DTSRUN is a command prompt utility, so you might need to use something like xp_cmdshell, but you'll need to make sure of the permissions. You might also look into using OLE Automation object functions, like sp_OACreate, etc...

Hope this helps,
Phillip
Phillip Grant
Grant Computer Consulting
731.642.2162
phillip@grantcomputer.com
BrainBench Certified: Visual FoxPro, RDBMS Concepts
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform