Working with SAS Data Sets

Data Set Maintenance Functions

Two functions and two subroutines are provided to perform data set maintenance:

DATASETS function
obtains members in a data library. This function returns a character matrix containing the names of the SAS data sets in a library.

CONTENTS function
obtains variables in a member. This function returns a character matrix containing the variable names for the SAS data set specified by libname and memname. The variable list is returned in alphabetical order.

RENAME subroutine
renames a SAS data set member in a specified library.

DELETE subroutine
deletes a SAS data set member in a specified library.

See Chapter 20 for details and examples of these functions and routines.

Previous Page | Next Page | Top of Page