ALTER ARRAY ADD EMPTY SUBVARIABLE command
See Crunch Automation basics for more information.
The ALTER ARRAY ADD EMPTY SUBVARIABLE command allows you to modify a non-derived array by adding new empty subvariables.
This command only works on multiple response and categorical array variables. The new subvariables aliases must be unique across the dataset, but the labels must only be unique within the array.
ALTER ARRAY alias ADD EMPTY SUBVARIABLES alias, ..., alias LABELS "string", ..., "string";
Example
ALTER ARRAY iphone_models ADD EMPTY SUBVARIABLES iphone_3g, iphone_4 LABELS "Iphone 3G", "Iphone 4";