Comparing non key columns , with mulltiple inputs

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
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Comparing non key columns , with mulltiple inputs

Post by ag_ram »

Hello Folks

In one of the jobs we have , we extract a Year from Database and compare that with all the rows (each row has a year column) .

Right now i use a CG , using Dummy keys i lookup the input from DB and append the year to all columns .

Then it is taken to a Transformer to do a comparison . Is there a easier way of accomplishing this
Andet
Charter Member
Charter Member
Posts: 63
Joined: Mon Nov 01, 2004 9:40 am
Location: Clayton, MO

Post by Andet »

I think it all depends on what you're doing when the year matches.
You can use a lookup stage. You might be better off doing an outer join with the table(s).

Ande
Ande

"So, you think this will work?"
Post Reply