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
bhargav_dd
Premium Member
Posts: 57 Joined: Tue Jun 30, 2009 9:38 am
Post
by bhargav_dd » Sun Jul 11, 2010 9:58 pm
can any one please how to implement reject link in join stage? i have data to be joined and if i get any rejects in the data i have to store it in reject link.
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Sun Jul 11, 2010 10:34 pm
There is no such thing as a reject from a join - just like in SQL you get the result of the join. Nothing more, nothing less.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
stuartjvnorton
Participant
Posts: 527 Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne
Post
by stuartjvnorton » Sun Jul 11, 2010 10:57 pm
outer join -> filter (check for nulls on the other side, ie: non-join)
join -> good link
non-join -> reject link
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Mon Jul 12, 2010 12:28 am
Because join's don't have rejects, the Join stage does not support a reject link.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
stuartjvnorton
Participant
Posts: 527 Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne
Post
by stuartjvnorton » Mon Jul 12, 2010 12:52 am
ray.wurlod wrote: Because join's don't have rejects, the Join stage does not support a reject link. ...
Trying to read between the lines: this would simulate what he appears to be looking for.
Work with me here Ray.
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Mon Jul 12, 2010 1:56 am
Yes, but a Join stage is not the correct stage type. Either a Lookup stage or a Merge stage is needed to get a reject link. That's the point I'm making.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.