Returns the SAS data set name that is associated with a data set identifier.
is a numeric variable that specifies the data set identifier that is returned by the OPEN function.
%let dsid=%sysfunc(open(sasuser.houses,i)); %put The current open data set is %sysfunc(dsname(&dsid)).;