Chapter Contents |
Previous |
Next |
DSNAME |
Category: | SAS File I/O |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
DSNAME(data-set-id) |
Details |
DSNAME returns the data set name that is associated with a data set identifier, or a blank if the data set identifier is not valid.
Examples |
This example determines the name of the SAS data set that is associated with the variable DSID and displays the name in the SAS log.
%let dsid=%sysfunc(open(sasuser.houses,i)); %put The current open data set is %sysfunc(dsname(&dsid)).;
See Also |
Function:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.