Two functions and two subroutines are provided to perform data set maintenance:
obtains members in a data library. This function returns a character matrix that contains the names of the SAS data sets in a library.
obtains variables in a member. This function returns a character matrix that contains the variable names for the SAS data set specified by libname and memname. The variable list is returned in alphabetical order.
renames a SAS data set member in a specified library.
deletes a SAS data set member in a specified library.
See Chapter 23 for details and examples of these functions and routines.