VARIABLE ROLE

Some dialogs support predefined roles that can be used to pre-select variables for analysis. When you open one of these dialogs, variables that meet the role requirements will be automatically displayed in the destination list(s).

VARIABLE ROLE 
  [/INPUT varlist]
  [/TARGET varlist]
  [/BOTH varlist]
  [/NONE varlist]
  [/PARTITION varlist]
  [/SPLIT varlist]

This command takes effect immediately. It does not read the active dataset or execute pending transformations. See the topic Command Order for more information.

Release History

Release 18.0

  • Command introduced.

Example

VARIABLE ROLE
  /INPUT Age Income Gender Education Debt
  /TARGET Credit_rating  /NONE Customer_ID.