multiple columns need to be lookup one table

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
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

multiple columns need to be lookup one table

Post by vinodn »

Hi,

Can you please give the suggestion for the below task,

my source:(file)

month1,month2,month3,month4--columns
1,2,3,4
2,1,3,4 ---data

Lokup table:

months:
1
2
3

So my requirement is i need to check the each column from the source to lookup column and pass the record to target,

is it possible take one lookup satge and send the data to target?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Yes, but the Lookup stage will need four reference inputs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

Post by vinodn »

Thanks Ray for you suggestion,

I need to put 24 input links for lookupsatge in one of my requirement, is it any impact on performance, input data only 1000 records,
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Who knows? Define "performance". Nothing to prevent you using more than one Lookup stage if monitoring shows that one Lookup stage with many reference inputs is a bottleneck in the job design.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply