My scrapbook about almost anything I stumble upon in my tech world. If you find anything useful don't forget to give thumbs-up :)


Saturday, March 12, 2016

Capture Unmatched records from Join Stage - A Quick DataStage Recipe

How to capture unmatched records from "Join" Stage. This stage does not provide reject handling for unmatched records (such as in Inner Join)


Use Outer Join operation. All rows on an outer link are output regardless of match on key values.

How to:

Add Outer join operation for "Join’ stage
When a match does not occur, Join stage inserts NULL values into unmatched columns
Filter stage can be used to test NULL values in unmatched columns

Like the below page to get update

No comments:

Post a Comment


The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.