= SPSS Rename Variables = The '''`RENAME VARIABLES`''' command renames variables. <> ---- == Usage == {{{ rename variables (foo bar = bar foo). rename variables (foo bar baz = ham spam eggs). rename variables (foo = ham) (bar = spam) (baz = eggs). rename variables (old1 to old5 = new1 to new5). }}} For the old variable names, case is ignored. For the new variable names, case is obeyed exactly. This syntax is reused on `/RENAME` subcommands on many other commands. ---- == Data Model == The `RENAME VARIABLES` command executes immediately and all specified renames occur simulataneously. Pending transformations are ''not'' executed and the active dataset is ''not'' read. ---- == See also == [[https://www.gnu.org/software/pspp/manual/html_node/RENAME-VARIABLES.html|PSPP manual for RENAME VARIABLES]] ---- CategoryRicottone