Interpretation in PX b/w Lnk.NOTFOUND and NOT(Lnk.NOTFOUND)

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
DS_MJ
Participant
Posts: 157
Joined: Wed Feb 02, 2005 10:00 am

Interpretation in PX b/w Lnk.NOTFOUND and NOT(Lnk.NOTFOUND)

Post by DS_MJ »

In Server job the stream going to the hashed file will have constraint reflink.NOTFOUND and for the reject it will be NOT(reflink.NOTFOUND) .

Is this correct...?
In PX the constraint for reflink.NOTFOUND = IsNOTNULL(input_colName)
and Reject link = IsNull(Input_Col_Name)

Also, how do i interpret server NOT(reflink.NOTFOUND) in PX...?
Thanks in advance,
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

please can u explain ur job clearly? :?
DS_MJ
Participant
Posts: 157
Joined: Wed Feb 02, 2005 10:00 am

Post by DS_MJ »

Not(IsNotNull(Input_Col)) = NOT(reflink.NOTFOUND)...?
Thanks in advance,
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

u dont have not found option in PX so
u have to use lookup+transformer stage.

in lookup stage have lookup failure constrints in properties tab to continue ..
take the both key column of primary and reference link to output..

And in the transformer have two o/p link applying constrints
isnotnull (referncelink. key) to get only the found records..

is null(referncelink. key) to get the not found records..
hope this might solve ur problem :)
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please refrain from using "u" for the second person pronoun - we have a Burmese user called U enrolled who - it appears - finds it offensive.
Given that the OP has also mentioned hashed files, it is opportune to ask whether this is a parallel job at all.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

sure... i will correct myself :)
Post Reply