How to achieve not(notfound()) results in parallel

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
vijaydev
Participant
Posts: 54
Joined: Sun May 20, 2007 6:31 pm

How to achieve not(notfound()) results in parallel

Post by vijaydev »

Hi,

I am new to datastage parallel, please let me know how to achive not(notfound(....)) results in parallel edition.

my requirement is i need to pass only new records which is not present in target.

Thanks in Advance

-Vijay
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Is this regarding lookup stage results?
vijaydev
Participant
Posts: 54
Joined: Sun May 20, 2007 6:31 pm

Post by vijaydev »

I dont know which one is suitable for me weather its lookup or change capture stage.


My requirement is i need to inset the records which is not avaialable in target.

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

Post by ray.wurlod »

The Lookup stage has a "lookup failed" rule - you program it as you require. If you want to continue processing the stream input row where lookup failed, you set the rule to "Continue" and test a lookup key column for being null. The change detection stage types allow you to set a code value for the situation you describe; that the key exists in the "before" or "first" data set but not in the "after" or "second" data set.
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