Chapter Contents |
Previous |
Next |
The COMPARE Procedure |
Restriction: | You must use the VAR statement when you use the WITH statement. |
Featured in: | Comparing Variables in Different Data Sets , Comparing a Variable Multiple Times , and Comparing Variables That Are in the Same Data Set |
WITH variable(s); |
Required Arguments |
Comparing Selected Variables |
A variable name can appear any number of times in the VAR statement or the WITH statement. By selecting VAR and WITH statement lists, you can compare the variables in any permutation.
If you omit the COMPARE= option in the PROC COMPARE statement, you must use the WITH statement. In this case, PROC COMPARE compares the values of variables with different names in the BASE= data set.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.