DATA step views are very versatile because they can harness the power of SAS DATA step processing, including DO loops and IF-THEN-ELSE statements. DATA step views do not have write capability, that is ...
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 ...