i joined two table using join stage did left outer join from table a to table b on col1 then in transformer i put a constraint
col2<>b_col2 and col3<>b_col3 and the constraint is not working as it filter all three table a records
Your logic in the constraint would seem to be correct. Try to remove the right side of the "AND" and see if you get the expected 1 output row; then repeat for the left side to see if you get the expected 2 output rows.
Why should this be the output? What's the rule that rejects the second row? At a guess, I'd be tempted to say "where col2<>b_col2 or (col2=b_col2 and col3=b_col3)", is that it? In english, "if Col2 matches then Col3 has to match as well".
I think you need to explain what you actually want. Just giving a trivial example means that we can come up with too many different ways to interpret it, and therefore too many solutions.
Do you want everything from table 1 that isn't in table 2?