IBM Support

Rename SPSS variables in command syntax

Troubleshooting


Problem

I am bringing in an external file into Statistics. It does not have variable names so Statistics labels them V1 V2 V3, ETC. How can I rename the variables through Command Syntax?

Resolving The Problem

Use the command RENAME VARIABLES. An example would be RENAME VARIABLES (V1 V2 V3 = NEW1 NEW2 NEW3).

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Historical Number

90838

Document Information

Modified date:
16 April 2020

UID

swg21487520