Restriction: If you omit COMPARE=, you must use the WITH and VAR statements. Restriction: PROC COMPARE reports errors differently if one or both of the compared data sets are not RADIX addressable.
one or more variables that appear in the BASE= and COMPARE= data sets or only in the BASE= data set. If you do not use the VAR statement, PROC COMPARE compares the values of all matching variables ...