LooKUp Stage Condition

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
srini.dw
Premium Member
Premium Member
Posts: 186
Joined: Fri Aug 18, 2006 1:59 am
Location: Chennai

LooKUp Stage Condition

Post by srini.dw »

Hi,
In PX7.5 Lookup Stage having constraints Condition Not Met,Lookup Failure.
My Source columns as ecode,scode,date...
Lookup columns as ecode,scode,datein,dateout...
Baded on ecode,scode i am specifying lookup condition,After that as for my requirement specifying condition as (date>=datein and date<dateout).This condition will work on lookup stage condition not met.

Thanks
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

what is ur question ,where exactly u r getting problem
hi sam here
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

Hi srini,

I guess the simple way will be to use transformer stage after the lookup stage(lookup on ecode and scode) for checking the date condition. And if you want to capture the rejects , get the lookup rejects and append them with the "condition fail" rejects in the same file.IHTH.

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

Post by ray.wurlod »

What do you seek to achieve? The "condition" determines whether to attempt the lookup at all, not the condition clause in the lookup processing. A Lookup stage can only do an "=" match on the key column(s).
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