Language Reference |
RENAME Call |
The RENAME subroutine renames a SAS data set.
The arguments to the RENAME subroutine are as follows:
is a character matrix or quoted literal that contains the name of the SAS data library.
is a character matrix or quoted literal that contains the current name of the data set.
is a character matrix or quoted literal that contains 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-level 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);
Copyright © SAS Institute, Inc. All Rights Reserved.