CREATE MULTIPLE SELECTION command
CREATE MULTIPLE SELECTION (non-schema command)
See Crunch Automation basics for more information.
Given a set of multiple categorical variables, the CREATE MULTIPLE SELECTION command returns a set of dichotomous variables. Each of these variables has one of the input categories as the selected value, which takes into consideration the combined responses of all the input rows.
You must declare as many output variables as there are of total unions of valid categories of the involved input variables.
Each of the output variables are named from the corresponding category label.
CREATE MULTIPLE SELECTION alias, ..., alias [NOT SELECTED label|code, ..., label|code] AS alias, ..., alias;
CREATE MULTIPLE SELECTION selection1, selection2, selection3 NOT SELECTED -1 AS apple, borland, corel, dbase, eviews;