Sparse 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
lathalr
Participant
Posts: 16
Joined: Thu Feb 14, 2013 6:00 am

Sparse Lookup

Post by lathalr »

Hello Team,

My source has only 4 records and the reference has 10K+ records. I am using sparse lookup. More than 4 records are flowing out of the lookup to the next stage. I have used below properties in lookup stage:
1. Condition not met : Fail
2. Lookup failure : Reject

I want only 4 records (matching records) out of that stage.

Thanks for your help in advance.

[Note - edited for clarity - Andy]
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

Is there a question in there?
You need to set up your db connector and sql, see this:

https://www.ibm.com/support/knowledgece ... ookup.html
Timato
Participant
Posts: 24
Joined: Tue Sep 30, 2014 10:51 pm

Post by Timato »

Check your Lookup Conditions settings and make sure that the 'Multiple rows returned from link:' drop down is not set.

If you are really expecting 1 matching reference record then also consider tightening the SQL in the reference DB connector stage.
Post Reply