The following output shows the differences in PROCLIB.ONE and PROCLIB.TWO by
observation instead of by variable.
options nodate pageno=1
linesize=80 pagesize=60;
proc compare base=proclib.one
compare=proclib.two transpose;
title 'Comparing Two Data Sets: Default Report';
run;
Output 12.9Partial Output Showing Comparison Results for Observations
If you use an ID statement, then the identifying label has the following form:
ID-1=ID-value-1 ... ID-n=ID-value-n
where ID is the name of an ID variable and ID-value is the value of the ID variable.
Note:When you use the TRANSPOSE option, PROC COMPARE prints only the first
12 characters of the value.
ODS Table ...
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.