The COMPARE procedure compares the contents of two SAS data sets, selected
variables in different data sets, or variables within the same data set.
PROC COMPARE compares two data sets: the base data set and the comparison data
set. The procedure determines matching variables and matching observations. Matching
variables are variables with the same name or variables that you pair by using the VAR
and WITH statements. Matching variables must be of the same type. Matching
observations are observations that have the same values for all ID variables that you
specify or, if you do not use ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.