RENAME VARIABLES

RENAME VARIABLES changes the names of variables in the active dataset while preserving their original order, values, variable labels, value labels, missing values, and print and write formats.

RENAME VARIABLES {(varname=newname)  [(varname ...)]}
                 {(varnames=newnames)               }

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

Example

RENAME VARIABLES (JOBCAT=TITLE).

Variables can also be renamed from the Variable View tab.