SAVE Subcommand (VALIDATEDATA command)
The SAVE
subcommand specifies
optional variables to save. Specify one or more keywords, each followed
by an optional variable name.
- The name, if specified, must be enclosed in parentheses—for
example,
EMPTYCASE(Empty)
—and must be a valid variable name. - If you do not specify a variable name, the procedure uses a default name.
- If the default name is used and it conflicts with that of an existing variable, a suffix is added to make the name unique.
- If you specify a name and it conflicts with that of an existing variable, an error occurs.
EMPTYCASE. Empty case
indicator. Empty cases are assigned the value 1. All
other cases are coded 0. The default rootname is EmptyCase. Values of EMPTYCASE
reflect the scope specified via the CASECHECKS
subcommand.
INCOMPLETEID. Incomplete ID indicator. Cases with empty or incomplete case identifiers are assigned a value 1. All other cases are coded 0. The default rootname is IncompleteID.
DUPLICATEID. Duplicate ID group. Cases that have the same case identifier (other than cases with incomplete identifiers) are assigned the same group number. Cases with unique or incomplete identifiers are coded 0. The default rootname is DuplicateIDGroup.
RULEVIOLATIONS . Total count of single-variable and cross-variable validation rule violations. The default rootname is ValidationRuleViolations. Ignored if no single-variable or cross-variable validation rules are applied.