RENAMEVARS Keyword (CSSELECT command)

The RENAMEVARS keyword handles name conflicts between existing variables and variables to be created by the CSSELECT procedure.

  • If the RENAMEVARS keyword is not specified, conflicting variable names generate an error. This is the default.
  • If output data are directed to the active dataset, RENAMEVARS specifies that an existing variable should be renamed with a warning if its name conflicts with that of a variable created by the CSSELECT procedure.
  • If output data are directed to an external file or dataset, RENAMEVARS specifies that a variable to be copied from the active dataset should be renamed, with a warning if its name conflicts with that of a variable created by the CSSELECT procedure. See the SAMPLEFILE subcommand for details about copying variables from the active dataset.