Link to home
Start Free TrialLog in
Avatar of yechan
yechanFlag for United States of America

asked on

Reference a Lookup task from within a Script Component

Hi,

I am in the process of converting a DTS package into SSIS.  That DTS package has an ActiveX script that references a DTS Lookup.  The code looks something like the following:

myid = DTSLookups("GetSomeId").Execute("DTSSource(variable1, variable2)

Is it possible to have the Script Component reference a lookup task?

thanks
ASKER CERTIFIED SOLUTION
Avatar of Jason Yousef
Jason Yousef
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of yechan

ASKER

I am not married to the idea of embedding a lookup task inside the script component.  Trying to "upgrade" an existing DTS package to SSIS.  If you think there is a better way, please let me know.

thanks
Avatar of Reza Rad
what are you doing in this lookup, does your requirement accomplished by regular LOOKUP TRANSFORM in the SSIS Data Flow toolbox?
if this doesn't make sense to you, could you tell us samples of your input data rows and your desired output result, and we could help you better
Avatar of yechan

ASKER

all,

i have replaced the DTSLookup with a SQL query call.  Wish I had more time to get this done right =)

thanks