Language Reference
RENAME Call
CALL RENAME (<libref,> member-name, new-name) ;
This subroutine is supported only by the IML procedure.
The RENAME subroutine renames a SAS data set.
The arguments to the RENAME subroutine are as follows:
- libref
is a character matrix or quoted literal that contains the name of the SAS data library.
- member-name
is a character matrix or quoted literal that contains the current name of the data set.
- new-name
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 libref 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);