Variable Lists (VALIDATEDATA command)
You must specify VARIABLES
, ID
, or CROSSVARRULES
.
VARIABLES Keyword
The VARIABLES
list specifies
analysis variables to be validated.
- Specify
one or more analysis variables.
ALL
andTO
can be used to refer to all variables or a range of variables, respectively. - Repeated instances of the same variable are filtered out of the list.
- Rule outcome variables are filtered out of the list.
ID Keyword
The ID
list specifies case
ID variables to be validated. ID variables are also used to label
casewise output.
- Specify one or more variables. If two or more ID variables are specified, the combination of their values is treated as a case identifier.
- Repeated instances of the same variable are filtered out of the list.
- Rule outcome variables are filtered out of the list.
CROSSVARRULES Keyword
The CROSSVARRULES
keyword
specifies cross-variable rules to be summarized.
- Specify one or more cross-variable rules of the form $VD.CRule[n], where n is a positive integer. Alternatively, you can provide a list of integers, where 1 means $VD.CRule[1], 2 means $VD.CRule[2], etc.
- The list accepts the keyword
ALL
, which signifies all cross-variable rules recorded in the data dictionary. - Repeated instances of the same rule are filtered out of the list.
- A warning occurs if a specified rule does not exist. The rule is ignored.