CASESTOVARS
CASESTOVARS
[/ID = varlist]
[/FIXED = varlist]
[/AUTOFIX = {YES**}]
{NO }
[/VIND [ROOT = rootname]]
[/COUNT = new variable ["label"]]
[/RENAME varname=rootname varname=rootname ...]
[/SEPARATOR = {"." }]
{“string”}]
[/INDEX = varlist]
[/GROUPBY = {VARIABLE**}]
{INDEX }]
[/DROP = varlist]
**Default if the subcommand is omitted.
This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.
Syntax for
the CASESTOVARS
command can be generated from the Restructure Data Wizard by selecting Restructure
selected cases into variables.
Example
CASESTOVARS /ID idvar /INDEX var1.