If I have two sets of data side 1 and side 2, and I want to match the data basis CUSIP first, from all combinations i.e., 1st row of side 1 vs all rows of side 2, then vs all combinations of 2 rows of side 2, then 3 rows and so on. Then also try the reverse i.e., 1 of side 2 vs all of side 1 for that CUSIP, then all possibile combinations of 2 rows for the CUSIP in side 2 and so on. Then do the same for ISIN.
I want the output to give me what has been joined for both sides, what is left in side 2 and what is left in side 1