![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
John I think you will be better to put the question to DTS.newsgroup and also look at www.sqldts.com . Personally , I have been calling DTS Package from stored procedure which is accepted a parameter for GV. "John Peterson" <j0hnp (AT) comcast (DOT) net> wrote in message news:OSDjL$ETEHA.2480 (AT) TK2MSFTNGP10 (DOT) phx.gbl... (SQL Server 2000, SP3a) Hello all! I have a DTS package, that I'll call "A", which calls another package "B". In A's Global Variable (GV) space, I'm defining the following variables: SourceServer SourceDatabase SourceUser SourcePassword DestinationServer DestinationDatabase DestinationUser DestinationPassword I also define these same GVs in B. I have A define the values for the GVs and I believe that they should "propagate" to B by placing these variables in the "Outer Package Global Variables" tab. However, when I try to change a value from A, it's like B "remembers" the last successful value that was used (it's not picking up the changed value). Am I doing something wrong with respect to GVs and packages calling other packages? Thanks! John Peterson |
#3
| |||
| |||
|
|
Thanks Uri...however, it *seems* like it's not working correctly in my case. :-( "Uri Dimant" <urid (AT) iscar (DOT) co.il> wrote in message news:O3NZtGFTEHA.2944 (AT) tk2msftngp13 (DOT) phx.gbl... John I think you will be better to put the question to DTS.newsgroup and also look at www.sqldts.com . Personally , I have been calling DTS Package from stored procedure which is accepted a parameter for GV. "John Peterson" <j0hnp (AT) comcast (DOT) net> wrote in message news:OSDjL$ETEHA.2480 (AT) TK2MSFTNGP10 (DOT) phx.gbl... (SQL Server 2000, SP3a) Hello all! I have a DTS package, that I'll call "A", which calls another package "B". In A's Global Variable (GV) space, I'm defining the following variables: SourceServer SourceDatabase SourceUser SourcePassword DestinationServer DestinationDatabase DestinationUser DestinationPassword I also define these same GVs in B. I have A define the values for the GVs and I believe that they should "propagate" to B by placing these variables in the "Outer Package Global Variables" tab. However, when I try to change a value from A, it's like B "remembers" the last successful value that was used (it's not picking up the changed value). Am I doing something wrong with respect to GVs and packages calling other packages? Thanks! John Peterson |
#4
| |||
| |||
|
|
(SQL Server 2000, SP3a) Hello all! I have a DTS package, that I'll call "A", which calls another package "B". In A's Global Variable (GV) space, I'm defining the following variables: SourceServer SourceDatabase SourceUser SourcePassword DestinationServer DestinationDatabase DestinationUser DestinationPassword I also define these same GVs in B. I have A define the values for the GVs and I believe that they should "propagate" to B by placing these variables in the "Outer Package Global Variables" tab. However, when I try to change a value from A, it's like B "remembers" the last successful value that was used (it's not picking up the changed value). Am I doing something wrong with respect to GVs and packages calling other packages? Thanks! John Peterson |
#5
| |||
| |||
|
|
A better question might be, what exactly do the two tabs do? That is, if I want to propagate my out (caller) package's GVs to the inner (callee), do I do that from the Outer Package tab? Or should that be done from the Inner Package tab? "John Peterson" <j0hnp (AT) comcast (DOT) net> wrote in message news:eyt8UOFTEHA.2692 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Thanks Uri...however, it *seems* like it's not working correctly in my case. :-( "Uri Dimant" <urid (AT) iscar (DOT) co.il> wrote in message news:O3NZtGFTEHA.2944 (AT) tk2msftngp13 (DOT) phx.gbl... John I think you will be better to put the question to DTS.newsgroup and also look at www.sqldts.com . Personally , I have been calling DTS Package from stored procedure which is accepted a parameter for GV. "John Peterson" <j0hnp (AT) comcast (DOT) net> wrote in message news:OSDjL$ETEHA.2480 (AT) TK2MSFTNGP10 (DOT) phx.gbl... (SQL Server 2000, SP3a) Hello all! I have a DTS package, that I'll call "A", which calls another package "B". In A's Global Variable (GV) space, I'm defining the following variables: SourceServer SourceDatabase SourceUser SourcePassword DestinationServer DestinationDatabase DestinationUser DestinationPassword I also define these same GVs in B. I have A define the values for the GVs and I believe that they should "propagate" to B by placing these variables in the "Outer Package Global Variables" tab. However, when I try to change a value from A, it's like B "remembers" the last successful value that was used (it's not picking up the changed value). Am I doing something wrong with respect to GVs and packages calling other packages? Thanks! John Peterson |
![]() |
| Thread Tools | |
| Display Modes | |
| |