SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS Variables for encapsulated DTS 2000 Package which uses Global Variables


SSIS Variables for encapsulated DTS 2000 Package which uses Global Variables

Author
Message
carolyn v mckechnie
carolyn v mckechnie
SSC Rookie
SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)SSC Rookie (30 reputation)

Group: General Forum Members
Points: 30 Visits: 55
Hi,
I have some migrated DTS 2000 packages that are now in SSIS. Some of them use complex transforms and were therefore migrated as encapsulated DTS 2000 package calls. Within the DTS 2000 package there are global variables. These variables were properly migrated as package-scope variables in SSIS and the Active-X script to assign them was also migrated but because it uses the old DTS object model, the migrated Active-X script doesn't work. I think I am supposed to do the variable assignment by setting the EvaluateAsExpression property of the variable to True. Okay, my problem seems simple, I don't know the syntax for writing this expression. If I have the variable gFileName and the EvaluateAsExpression property is set to True, and I want the value to be substituted at runtime, how do I accomplish this in the SSIS expression itself? Does anyone have the syntax for doing this? And then, how do I get that SSIS variable value passed to the DTS 2000 package's Global Variable from the SSIS wrapper package? Any hints/suggestions? I will eventually rewrite the encapsulated DTS package once I learn how to set up the custom transform scripts that they contain, but for this first migration/deployment we will stay with the embedded DTS legacy packages, so I need to figure out how this would work. Any tips would be appreciated.
Thank you,
cvm
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search