Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I hope someone can help me with this. I have to tables, my main one is the MC table (A) and the lookup is the new_day table (B). There are three scenarios I want to catch:
1) Both the keys for (A) and (B) match. This is working via tLogRow1. I will then take the variable MC and concatenate a "1" to the existing string (to show that this string was also found in the new day table).
2) The key is in (A) but is not found in (B). This is working via catching the "Catch lookup inner join reject" for tLogRow2. I will then take the variable MC and concatenate a "0" to the existing string (to show that this string was NOT found in the new day table).
3) The key isn't in (A) but is found in (B). This indicates a new key coming from the new day table. I've tried to get this to work via the "Catch Output Reject" but I end up with 0 records, no matter what I try. There are more records in (B) than in (A) so there must be some new keys to catch.
Attached are the screenshots of the detailed tMap and the workflow.
I've tried to enter an expression for tLogRow1 but all I managed was that all of a sudden it didn't get any record anymore, though I entered "mc.A_PARTY == new_day.A_PARTY" for it. It must be something simple that I probably overlook. I use inner join and unique match BTW.
Thanks in advance,
Andreas