![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hey, I have a DTS import package which works a treat when it is referencing the filename (txt file) setup via EM, but can you dynamically pass in a filename of your choice to a DTS to use as the txt source file? This DTS can be triggered via the web I want a text filename to be dynamic so more than one person can fire off the DTS...without overwriting the other users DTS if they have triggered the DTS off to begin with. Is this possible? |
#3
| |||
| |||
|
|
You certainly can do this Easiest ways. 1. Pass the filename as a Global variable to the package when called through DTSRUN using the /A switch 2. Use the Dynamic Properties task |
#4
| |||
| |||
|
|
You certainly can do this Easiest ways. 1. Pass the filename as a Global variable to the package when called through DTSRUN using the /A switch 2. Use the Dynamic Properties task |
#5
| |||
| |||
|
|
Oh, are 1 and 2 linked? i.e. pass the var in 1 and use it in 2 or are they seperate? Allan Mitchell wrote: You certainly can do this Easiest ways. 1. Pass the filename as a Global variable to the package when called through DTSRUN using the /A switch 2. Use the Dynamic Properties task |
#6
| |||
| |||
|
|
They can be used in conjustion with one another but personally I wouldn't. |
#7
| |||
| |||
|
|
Why? Allan Mitchell wrote: They can be used in conjustion with one another but personally I wouldn't. |
#8
| |||
| |||
|
|
What are you going to do wi tht eglobal variable in the Dynamic Properties task? Assign a value. Why do I want to go through the extra step when I can pass a value to a GV on the cmdline and cut out the middle man. |
![]() |
| Thread Tools | |
| Display Modes | |
| |