Chapter Contents

Previous

Next
The DATASETS Procedure

RENAME Statement


Renames variables in the SAS data set specified in the MODIFY statement.

Restriction: Must appear in a MODIFY RUN group
Featured in: Modifying SAS Data Sets


RENAME old-name-1=new-name-1
<...old-name-n=new-name-n>;


Required Arguments

old-name=new-name
changes the name of a variable in the data set specified in the MODIFY statement. old-name must be a variable that already exists in the data set. new-name, which must be a SAS name, cannot be the name of a variable that already exists in the data set or the name of an index.


Details


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.