Thursday 4 June 2009

Rename Variables

Here is the syntax:

RENAME VARIABLES {(OLD varname= NEW varname) [(varname ...)]}
{(varnames=varnames) }

Example:
RENAME VARIABLES (tm6 = Field2)(tm5 = Field1)(tm3 = MS)(tm4 = Language)(tm10
= Code)(tm1 = Query)(tm11 = Query_Code)(tm9 = Referred_to)(tm2 =
Remarks)(tm7 = Source)(tm8 = Occupation)(tm12 = Card) .


Variables can also be renamed from the Variable View tab.

No comments: