Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

RENAME Call

renames a SAS data set

CALL RENAME( <libname,> member-name, new-name);

The inputs to the RENAME subroutine are as follows:
libname
is a character matrix or quoted literal containing the name of the SAS data library.

member-name
is a character matrix or quoted literal containing the current name of the data set.

new-name
is a character matrix or quoted literal containing the new data set name.
The RENAME subroutine renames a SAS data set in the specified library. All of the arguments can directly be specified in quotes, although quotes are not required. If a one-word data set name is specified, the libname specified by the RESET deflib statement is used. Examples of valid statements follow:
   call rename('a','b');
   call rename(a,b);
   call rename(work,a,b);

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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