Not(Lookuplink.NotFound)

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

Not(Lookuplink.NotFound)

Post by ranga1970 »

Folks,
I am stepped in to do production support, and found a the job with constraint

Code: Select all

Not(Lookuplink.NotFound)
Where lookuplink is link from hash file used to do lookup, my question is
.Notfound is built in function or routene or transform, i never got a chance to work on this kind one before, Any input or suggestions would be great and appreciated,
RRCHINTALA
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

It's an inherent stage variable. It lets you know if the link reference lookup found a row or not.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
It is doing a lookup against the hash file.

You can also use IsNull function if NotFound confuses you.
IsNull tests is a variable has null value.

Ketfos
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

Post by ranga1970 »

got the anwer, thanks, previously I was using IsNull only, but wanted to double check, thanks folks
RRCHINTALA
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Beware that variable names are case sensitive. The name of this input link variable is NOTFOUND (not NotFound).
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