| Procedure features: |
| VAR statement |
| WITH statement |
|
| Data sets: |
|
This example compares one
variable from the base data set with
two variables in the comparison data set.
libname proclib 'SAS-data-library';
options nodate pageno=1 linesize=80 pagesize=40;
 | proc compare base=proclib.one compare=proclib.two nosummary; |
 | var gr1 gr1;
with gr1 gr2;
title 'Comparison of One Variable with Two Variables';
run; |
| The Value Comparison Results section shows the result of the comparison.
|
|
![[Listing Output]](../common/images/outlist.gif) |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.