SEPARATOR subcommand (CASESTOVARS command)

CASESTOVARS creates variable groups that contain new variables. There are two parts to the name of a new variable—a rootname and an index. The parts are separated by a string. The separator string is specified on the SEPARATOR subcommand.

  • If a separator is not specified, the default is a period.
  • A separator can contain multiple characters.
  • The separator must be delimited by single or double quotes.
  • You can suppress the separator by specifying /SEPARATOR="".
  • If there is a single index variable and it is a string, SEPARATOR is ignored. The string values are used as the new variable names. For string values that do not form valid variable names, names of the general form Vn are used, where n is a sequential integer.