Returns the name of a directory member.
Category: | External Files |
%let filrf=mydir;
%let rc=%sysfunc(filename(filrf,physical-name));
%let did=%sysfunc(dopen(&filrf));
%let lstname=;
%let memcount=%sysfunc(dnum(&did));
%if &memcount > 0 %then
%let lstname=%sysfunc(dread(&did,&memcount));
%let rc=%sysfunc(dclose(&did));