look up warning

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
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

look up warning

Post by samsuf2002 »

Hi All , I am running a paralle job in which i am doing a look up (lookup stage) from a table using ODBC stage (data base SQL server) for joining 4 columns on 2 keys .i am getting this warning

Lookup_392,0: Ignoring duplicate entry at table record 2; no further warnings will be issued for this table

Can anyone hekp me on this
Thanks in Advance
hi sam here
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

The warning tells you that the key value in the lookup data has duplicates. Either remove duplicate or handle the duplicate with the option avaialbe in Lookup.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

How we should handle the dups in look up stage?
hi sam here
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Remove Duplicates stage upstream. Or a sort (Sort stage or input link sort) with the "unique" option selected.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

samsuf2002 wrote:How we should handle the dups in look up stage?
In Lookup Stage Condition page, select the Link name where the lookup is entering in "Multiple rows returned from link" option.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply