RULESUMMARIES Subcommand (VALIDATEDATA command)
The RULESUMMARIES
subcommand
is used to summarize violations of single-variable validation rules.
- By default, single-variable rule violations are summarized by analysis variable.
- Cross-variable validation rules are always summarized by rule.
-
RULESUMMARIES
generates a warning if summaries are requested but single-variable validation rules are not defined for at least one analysis variable.
BYVARIABLE. Summarize by variable. For each analysis variable, shows all single-variable validation rules that were violated and the number of values that violated each rule. Also reports the total number of single-variable rule violations for each variable. This is the default.
BYRULE . Summarize by rule. For each single-variable validation rule, reports variables that violated the rule and the number of invalid values per variable. Also reports the total number of values that violated each rule across variables.
NONE . No summaries
are produced for single-variable rules. An error occurs
if NONE
is specified along with
any other RULESUMMARIES
keyword.