Page 1 of 1
Lookup not working
Posted: Fri Apr 17, 2009 10:42 am
by deesh
Hi Friends,
When I am look uping data, look up is not working, data is coming as null but data is there, Moreover job is not showing any warning and failures.
Posted: Fri Apr 17, 2009 3:11 pm
by ray.wurlod
Change your "Lookup Failed" rule.
Re: Lookup not working
Posted: Sat Apr 18, 2009 2:01 pm
by deesh
deesh wrote:Hi Friends,
When I am look uping data, look up is not working, data is coming as null but data is there, Moreover job is not showing any warning and failures.
""" I given Continue option""" In the same lookup I given two reference keys from two tables
Table1 Table2
1. opt1- sid
2.opt2- ikid -------> Table3
Second reference key is not working, First one is good.
Posted: Sat Apr 18, 2009 3:25 pm
by ray.wurlod
What are the data types of the lookup keys? If string, are they equivalently trimmed?
Re: Lookup not working
Posted: Sun Apr 19, 2009 6:49 am
by deesh
deesh wrote:Hi Friends,
When I am look uping data, look up is not working, data is coming as null but data is there, Moreover job is not showing any warning and failures.
---Its Varchar
Posted: Sun Apr 19, 2009 7:19 am
by chulett
Two questions, one answer. Batting 500.
Posted: Sun Apr 19, 2009 7:34 pm
by sbass1
chulett wrote:Two questions, one answer. Batting 500.
ROTFLMAO
(Sorry for the acronym Ray
![Smile :)](./images/smilies/icon_smile.gif)
It's probably not "business level" English either!)
deesh, what Craig is getting at is if your source data is "FOO " and your lookup is "FOO" you won't get a hit. This one has bitten me in the past.
So, as Craig said, make sure your data is trimmed equivalently. If you're not sure, print something like "^":your_data:"$" for both data elements to the log.
Re: Lookup not working
Posted: Mon Apr 20, 2009 7:11 am
by deesh
deesh wrote:Hi Friends,
When I am look uping data, look up is not working, data is coming as null but data is there, Moreover job is not showing any warning and failures.
I am prepared same condition for two jobs but one job is working, second one is not working i given same conditions but not working.
Posted: Mon Apr 20, 2009 7:14 am
by chulett
Stop quoting yourself. And something is different between the two or both would be working. Do both jobs process the same data? Perhaps the second one needs more 'conditions' to handle it properly.