Having issues with Lookup Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
mahmudul
Participant
Posts: 15
Joined: Fri May 07, 2010 8:57 pm

Having issues with Lookup Stage

Post by mahmudul »

Hi All,

I am having some issues with Lookup Stage. I have one dataset as source and another one as reference connected to lookup stage and then connected to a transformer stage to find the required records that will be loaded to Oracle table. While running I get the following error:

Lkp_Add_Updttm: Error occurred during initializeFromArgs().
Lkp_Add_Updttm: When processing argument -ifNotFoundWhen processing action: No value supplied
main_program: Creation of a step finished with status = FAILED.

Please let me know what could be done to fix this error. Thanks in advance!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard.

Make sure the "Lookup Failed" rule is correctly set in the Lookup stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mahmudul
Participant
Posts: 15
Joined: Fri May 07, 2010 8:57 pm

Post by mahmudul »

My 'Lookup Failed' rule is setup as given below:
Condition Not Met --> Fail and Lookup Failur --> Fail
Can you please suggest how to fix this error that I get while running:

Lkp_Add_Updttm: Error occurred during initializeFromArgs().
Lkp_Add_Updttm: When processing argument -ifNotFoundWhen processing action: No value supplied
main_program: Creation of a step finished with status = FAILED.

Thank you in advance!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try changing the Lookup Failed rule to something else.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mahmudul
Participant
Posts: 15
Joined: Fri May 07, 2010 8:57 pm

Post by mahmudul »

I changed the 'Lookup Failed' rule to 'Reject' and then connected to DataSet to catch the rejected row. It still aborts! Thanks in advance!!!
mahmudul
Participant
Posts: 15
Joined: Fri May 07, 2010 8:57 pm

Post by mahmudul »

Do you know what could be done to fix this error?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not really. Try replacing the Lookup stage with a new Lookup stage (for test purposes).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
mobashshar
Participant
Posts: 91
Joined: Wed Apr 20, 2005 7:59 pm
Location: U.S.

Post by mobashshar »

Try changing the lookup Condition Not Met = Continue and LookUp Failed = Continue
Post Reply