If you omit the COMPARE= option in the PROC COMPARE statement, then you must
use the WITH statement. In this case, PROC COMPARE compares the values of
variables with different names in the BASE= data set.
Customizing PROC COMPARE Output
PROC COMPARE produces lengthy output. You can use one or more options to
determine the types of comparisons to make and the degree of detail in the report. For
example, in the following PROC COMPARE step, the NOVALUES option suppresses
the part of the output that shows the differences in the values of matching variables:
options nodate pageno=1 linesize=80 pagesize=40;
title 'The SAS System';
proc compare base=proclib.one ...
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.