Lookup stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
rmeenakumari822
Participant
Posts: 30
Joined: Sat Oct 25, 2008 9:09 pm
Location: chennai

Lookup stage

Post by rmeenakumari822 »

Hi,

Can any one solve this problem

i have two source like

Source 1 Source2
1 UK United States
2 US India
3 IN United kindom

Required ouput
1 united kindom
2 united state
3 india

used to compare UK->united kindom,......

how to perform this option in LOOKUP stage

Thanks,
priya
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Create a source that has your translations in it, keyed by the abbreviation and use that in your lookup stage.

Code: Select all

UK, United Kingdom
US, United States
IN, India
etc
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply