Issue with Lookup

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
aladap12
Participant
Posts: 60
Joined: Fri Jul 20, 2007 1:15 pm
Location: NO

Issue with Lookup

Post by aladap12 »

Friends,

I have an Issue at my work.
The Issue is, I have a big text file which is Pipe delimer on it. I am trying to read that file in colunms
1.NO(decimal) 9 and 2.Remdata(varchar) 9999999
and I am writing in Hash file for lookup purpose with yesterdays file.

Here i am getting problem, Lookup is not perfromed as we desired.
No records from lookup file are not coming out properly,
can you guys suggest me how to achive good results.

Thanks
VKR
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Try to pass values which you are sure are present in lookups.

Did you check the format of data loaded?

Did you test in a stand-alone mode?

Provide sample values.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You've given us no clues about your hashed file design - which are the key field(s) you are looking up on? Basically you need to ensure the values used to build the hashed file are identical to the values used in the lookup key expression or the lookup will fail. And "identical" means identical - type, case, length, trimming, etc - everything must match 100%.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply