how to reject data using the join stage

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
developeretl
Participant
Posts: 89
Joined: Sat Jul 24, 2010 11:33 pm

how to reject data using the join stage

Post by developeretl »

Hi,
I want to reject the data using join stage..... I want to reject the data which is not having the match ....can you please guide me how to do that ??
Barath
Participant
Posts: 17
Joined: Mon Sep 29, 2008 4:00 am
Location: Mumbai

Re: how to reject data using the join stage

Post by Barath »

developeretl wrote:Hi,
I want to reject the data using join stage..... I want to reject the data which is not having the match ....can you please guide me how to do that ??

By using join stage you can't reject the which is unmatching to your join condition. In that case after join stage you should use filter or transformer stages.
OR
You can go for Lookup stage or Merge stage.
SBSA_DW2
Premium Member
Premium Member
Posts: 37
Joined: Fri Jul 25, 2008 1:24 am

Post by SBSA_DW2 »

Do a left join and bring in the key columns from the RIGHT table/source.

Set up a transformer or filter after the join and send data where the RIGHT table/source columns are NULL down the reject link. These will be the rows that did not match to the RIGHT table/source

I think i have it right... or is it left? :roll:
Post Reply