Lookup condition not found

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
vilasini
Participant
Posts: 32
Joined: Sun Dec 09, 2007 11:48 pm

Lookup condition not found

Post by vilasini »

Hi Friends,

I have a job in which if the lookup condition found ,field name sould map to the output else set Null to the output.Can we specify in lookup like the contion not found? to set it null.
Plz help me out on this.

Regards
Vilasini
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I am assuming you are using a Lookup stage. Simply change the Lookup Failed rule to "Continue" and make sure that every output column derived from the reference input link is defined to be Nullable and/or has a default value set. The former, if you explicitly want NULL.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply