Here is my question, I was opininion that
if you use stream link and reference link, which means we are making an leftouter join(ie passing all values from stram link and matching rows only from reference link)
But my data is like this, reference table is having composit key and the hence the join condition key is duplicable
for example
![Mad :x](./images/smilies/icon_mad.gif)
stream link
SNO empno
1 101
2 102
3 103
5 107
6 109
Reference link
Sno deptno empname
1 1 abc
1 2 bad
2 1 xyz
2 2 abd
if make join in datastage on sno of both, out put would be only 5 rows since you wil have records not more than stream records total records
but if you make left outer join using sql you would 7 records, since Sno 1 and 2 will have two records each and 3, 5, 6 will have one record
so the testing department says its failure,
one method i figured out is having only one stage and making leftouter join at the stage out put SQL, but my question is does the Datastage provide any solution for this kind of data, can have multiple primary key table as reference at all
![Question :?:](./images/smilies/icon_question.gif)
Could some one throw light on me regarding this and what exactly happens in the background when stream link and reference link or joined
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
If some could help me in this you would be doing great help, help requested with utmost urgency please :D
[/code]