Multiple Reference in Lookup

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
vijayrc
Participant
Posts: 197
Joined: Sun Apr 02, 2006 10:31 am
Location: NJ

Multiple Reference in Lookup

Post by vijayrc »

Hi
Just read that a Lookup can have multiple references for an incoming stream of data to be matched.
My question [might sound silly]:
[1] Should the key to the Incoming data and all the reference be the same [in cases, where references are from multiple sources] ?? OR
[2] for each Reference can there be a different key to the incoming data to be matched ??? :roll:
Any light on this is greatly appreciated. Thanks in advance. -V
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The lookup keys can be different for each reference input link. However, when there is no ability to specify a Key expression (such as when there is a Lookup File Set feeding the reference input link) then a column that is identically named and typed as the key column must occur in the stream input metadata.
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