Hi All,
i have 100 data set in work library i want to read only data set names?
please can you help know.
Thanks in advance.
Many ways. You can use proc datasets (see the doc) or dictionary tables
proc sql;
select memname
from dictionary.tables
where libname="WORK";
quit;
Many ways. You can use proc datasets (see the doc) or dictionary tables
proc sql;
select memname
from dictionary.tables
where libname="WORK";
quit;
Thank you so much for your support
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.