OUTPUT subcommand (COMPARE DATASETS command)
You can use the optional OUTPUT
command to produce a table that compares dictionary information
between the two files and control the display of the case-by-case
comparison table.
VARPROPERTIES=NONE | ALL | MEASURE LABEL VALUELABELS COLUMNS MISSING
ALIGN ROLE ATTRIBUTES WIDTH.
Produces a table that compares the specified data dictionary properties for each variable in the
two datasets. The default is NONE
.
- MEASURE
- Measurement level.
- LABEL
- Descriptive variable label.
- VALUELABELS
- Descriptive value labels.
- COLUMNS
- Column width in Data view of the Data Editor.
- MISSING
- Defined user-missing values.
- ALIGN
- Alignment in Data view of the Data Editor.
- ROLE
- Variable role.
- ATTRIBUTES
- User-defined custom variable attributes.
- WIDTH
- For numeric variables, the maximum number of characters displayed (digits plus formatting characters, such as currency symbols, grouping symbols, and decimal indicator). For string variables, the maximum number of bytes allowed.
- CASETABLE=YES|NO
- Produces a case-by-case comparison table that contains mismatch details. For
each case and each variable, the table displays the values that are different in the two files. The
default is
YES
. Use the optionalTABLELIMIT
keyword to limit the table to the first n cases with mismatches. The default is 100.TABLELIMIT=NONE
will display all mismatches.
Example
/OUTPUT
VARPROPERTIES=MEASURE WIDTH
CASETABLE=YES TABLELIMIT=500