SSIS Variables for encapsulated DTS 2000 Package which uses Global Variables

  • 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

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply