I have a simple job that uses a lookup stage to lookup a column from Database A into a similar column in Database B and extract the values in the relevant columns from Database B into a flat file. The lookup column has the same definition Integer( 8 ) in both the databases.
I get the following errors when I run the job.
Lookup_2,0: Failed a keylookup for record.
Lookup_2,0: The runLocally() of the operator failed.
And then the job fails.
Step execution finished with status = FAILED.
Does anyone have any idea? Thanks for your time.
Failed a KeyLookup for Record
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 644
- Joined: Sat Aug 26, 2006 3:59 pm
- Location: Mclean, VA
Failed a KeyLookup for Record
Attitude is everything....
-
- Participant
- Posts: 57
- Joined: Sat Jun 09, 2007 1:14 am
- Location: chicago
Re: Failed a KeyLookup for Record
Hi
In the look-up u have to mention
what if the condition fails
and look-up fails
by default it fails the job which in ur case aborting the job
please have a check in that area
thanks
Suresh
In the look-up u have to mention
what if the condition fails
and look-up fails
by default it fails the job which in ur case aborting the job
please have a check in that area
thanks
Suresh
just4geeks wrote:I have a simple job that uses a lookup stage to lookup a column from Database A into a similar column in Database B and extract the values in the relevant columns from Database B into a flat file. The lookup column has the same definition Integer( 8 ) in both the databases.
I get the following errors when I run the job.
Lookup_2,0: Failed a keylookup for record.
Lookup_2,0: The runLocally() of the operator failed.
And then the job fails.
Step execution finished with status = FAILED.
Does anyone have any idea? Thanks for your time.
Hi I have experience in parallel extender datastage I am ready to give/take help from other
hope we all help each other hand in hand
hope we all help each other hand in hand
-
- Participant
- Posts: 57
- Joined: Sat Jun 09, 2007 1:14 am
- Location: chicago
Re: Failed a KeyLookup for Record
Hi
In the look-up u have to mention
what if the condition fails
and look-up fails
by default it fails the job which in ur case aborting the job
please have a check in that area
thanks
Suresh
In the look-up u have to mention
what if the condition fails
and look-up fails
by default it fails the job which in ur case aborting the job
please have a check in that area
thanks
Suresh
just4geeks wrote:I have a simple job that uses a lookup stage to lookup a column from Database A into a similar column in Database B and extract the values in the relevant columns from Database B into a flat file. The lookup column has the same definition Integer( 8 ) in both the databases.
I get the following errors when I run the job.
Lookup_2,0: Failed a keylookup for record.
Lookup_2,0: The runLocally() of the operator failed.
And then the job fails.
Step execution finished with status = FAILED.
Does anyone have any idea? Thanks for your time.
Hi I have experience in parallel extender datastage I am ready to give/take help from other
hope we all help each other hand in hand
hope we all help each other hand in hand
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Etiquette Note
When a thread is marked as Resolved convention requires that a post is made indicating how it was resolved.
I suspect in this case that the default Lookup Failed rule (Fail) was changed to Continue, Drop or Output. But I don't know for sure.
When a thread is marked as Resolved convention requires that a post is made indicating how it was resolved.
I suspect in this case that the default Lookup Failed rule (Fail) was changed to Continue, Drop or Output. But I don't know for sure.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 644
- Joined: Sat Aug 26, 2006 3:59 pm
- Location: Mclean, VA
Re: Failed a KeyLookup for Record
I changed the default response to failed look-up from failure to continue. And the job worked successfully.
Thanks Suresh and Brad for your responses.
Thanks Suresh and Brad for your responses.
Attitude is everything....