Identical column names in Lookup - Best practice

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
ds_is_fun
Premium Member
Premium Member
Posts: 194
Joined: Fri Jan 07, 2005 12:00 pm

Identical column names in Lookup - Best practice

Post by ds_is_fun »

I have a job with two column names ename - table1, ENAME- table 2.
They both have the same length. Is it necessary to convert the names. Im assuming that as long as the types and lengths are sames we can perform a lookup between two columns.
Thanks!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I assume you're talking about a Lookup stage here.
What you say is true except if the reference input is fed by a Lookup File Set or by a sparse lookup. In either of these cases the column name must be identical. The data type, of course, should always match or at least be compatible.
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