run a Package from package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SteveLee
    New Member
    • Oct 2006
    • 1

    #1

    run a Package from package

    I have a DTS package that executes a procedure returns a global variable.

    In the next ActiveX task (vb) I'd like to examine the variable and based on its value run other DTS packages but I do not know how to set up the code to run a DTS package from within an ActiveX script.

    Any help appreciated .
    Steve
  • Pourya99
    New Member
    • Oct 2006
    • 9

    #2
    Go to Start > Run and type DTSRUNUI
    Type in the SQL Server connection info at the bottom
    Click the [...] button at the to choose the package name. Click [Advanced]
    Click the [Generate] button
    To the left of the [Generate] button, you will see the command to run the DTS from command line.

    Comment

    Working...