Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSIS Variables for encapsulated DTS 2000 Package which uses Global Variables Expand / Collapse
Author
Message
Posted Saturday, January 26, 2008 7:02 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, December 11, 2008 4:22 PM
Points: 18, 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
Post #447996
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse