Hi
I have this proc compare, where I compare two sets for differences:
proc compare
base = Set1
compare = set2
out= diff outdiff;
run;
The out dataset diff - contains 4 variables: Type of observation = DIFF, observation number = 1, variable1 = 0, variable2 = 0.
I need a if statment that says: If variable1 and variable 2 = 0, in other words there is no difference, then do the next line of code.
I know the set up will be something like that, but how can I specify the two variables from DIFF?
%if ??? and ??? %then %do ;
**put code here;
%end;