176 Handbook of SAS
®
DATA Step Programming
of the data set. That is to say, only values in the rst three observations
in COMPARE1 and all the observations in COMPARE2 in STUDENTID,
GENDER, and WEIGHT1 variables are compared.
In the generated output from PROC COMPARE, the “Variable Summary”
table summarizes variable differences, including the number of common
variables (4), the number of variables in one data set but not in the other
(one in COMPARE1 but not in COMPARE2), the number of variables that
have conicting types (1), and the number of variables that have different
attributes (1). The variable with conicting type (HEIGHT) appears in the
“Listing of Common Variables with Conicting Types” table. The variable
with different attribu