Compare column name and value

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dnat
Participant
Posts: 200
Joined: Thu Sep 06, 2007 2:06 am

Compare column name and value

Post by dnat »

HI,

In the input i have 3 columns
ColA,ColB,ColC with the following values
MOS,MMS,PX

And i have a reference link(table) where all the valid values for these columns are stored in a table like below

Col1,Col2 with the following values
ColA,MOS
ColB,MMS
ColC,PX.

I want to validate whether the value in ColA(from input) i.e MOS is matching with the value in reference with the value ColA.

How can we achieve this..
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Isn't that a normal lookup ?
Post Reply