Page 1 of 1

look up issue

Posted: Thu Aug 17, 2006 9:27 am
by adams06
Hi,


I am doing a lookup, both sorce and lookup(hash file) has matching records. but the records are not hooking up, and no data is coming from lookup.

i deleted the hash file and recreated it.

can some let me what's the prob.

Thanks in advance.

Posted: Thu Aug 17, 2006 9:41 am
by DSguru2B
Either the source or the hashed file has spaces in the key. Make sure you trim the keys while building the hashed file and also trim the keys during the lookup coming from the source.

Posted: Thu Aug 17, 2006 9:46 am
by kris007
Or there are no matching records :wink:

Re: look up issue

Posted: Thu Aug 17, 2006 9:48 am
by prabu
adams06 wrote:Hi,


I am doing a lookup, both sorce and lookup(hash file) has matching records. but the records are not hooking up, and no data is coming from lookup.

i deleted the hash file and recreated it.

can some let me what's the prob.

Thanks in advance.
i like your terminology
hooking up
:lol: .
1)check if your keys are set proper.
2)check for any whitespace characters in your source/lookup files. use trim in the looku"p key.
3)choose some key you know will be "hooked up" and
try view data to match it in source and lookup file, manually.



regards,
Prabu

Posted: Thu Aug 17, 2006 7:30 pm
by meena
Hi Adam06..
What is your source? What is your lookup? Are you using hash file or DB2 etc for look up.. On which column datatype you are performing look up....

Posted: Thu Aug 17, 2006 9:36 pm
by vsi
Hi Adam
Make sure the format of the data you are comparing is the same, for ex. date(yyyy-mm-dd) should be compared to same format and as others suggested trim plays important role in look up's,