Page 1 of 1

Lookup

Posted: Tue Nov 28, 2006 6:16 pm
by pradkumar
Hi

I am trying to do a simple lookup and it is not working.
My jOb design is like this:

ODBC1---->TX(llokup with another ODBC2)-->ODBC3

In ODBC1 , I am joining few tables. and based on the key columns obtained from it I am doing a lookup with the
key columns present in ODBC2 to pull out one column.
When I designed the joba nd ran it, it gets executed but no lookup is performed.

What might be the problem?

Re: Lookup

Posted: Tue Nov 28, 2006 6:20 pm
by ShaneMuir
pradkumar wrote:Hi

In ODBC1 , I am joining few tables. and based on the key columns obtained from it I am doing a lookup with the
key columns present in ODBC2 to pull out one column.
When I designed the joba nd ran it, it gets executed but no lookup is performed.

What might be the problem?
At a guess - your keys don't match. Are you sure that the fields match exactly?

Posted: Tue Nov 28, 2006 6:24 pm
by pradkumar
They DO match

Posted: Tue Nov 28, 2006 6:28 pm
by ShaneMuir
pradkumar wrote:They DO match
Just looking for the obvious solution first - so there are no extra spaces in either table, non printing characters etc?

Posted: Tue Nov 28, 2006 8:00 pm
by chulett
More than likely you are wrong there and they in fact do NOT match. That is the most common problem when lookups 'fail' which is why Shane ask about it first.

Your other problem could be your lookup sql - is it generated or user defined? Do your keys match up properly with the positional parameter markers that ODBC uses?

Posted: Tue Nov 28, 2006 11:49 pm
by ray.wurlod
What are the data types of the reference key and the parent key?