I have to compare 2 datasets(A and B) and would like to know common records in Both,Exclusive to first and exclusive to second. Please somebody provide the logic
Note:
->1.Dataset A contains duplicate records and Dataset B also contains duplicate records.
-->2.if dataset A cotains 3 records(duplicate) and dataset B contains only 2 of duplicate records , i should get like exclusive to A has one record.
-->3.if dataset B cotains 3 records(duplicate) and dataset A contains only 2 of duplicate records , i should get like exclusive to B has one record.
I struggled a lot because(put log)
amount=944.68 indatasetA=1 indatasetB=0 /* these are in-varibles for datasets with put */ amount=944.68 indatasetA=0 indatasetB=1 /* these are in-varibles for datasets with put */
proc compare
Obs || sumamount sumamount Diff. % Diff
________ || _________ _________ _________ _________
||
12 || 200.39 200.39 2.842E-14 1.418E-14
... View more