Hi Team,
i have 100 data sets how to find out only data set name
Advance Thanks
What do you want to do with those names? Put them in a macro variable?
If so
proc sql;
select memname into :DataSets separated by ' '
from dictionary.tables
where libname='SASHELP';
quit;
%put &DataSets;
ds1 ds2 ds3 ds4 ..................................................................................ds100 like that
Have you tried my posted code?
alternatively please try
data want;
set sashelp.vtable;
run;
Hello @nayab_shaik
Would you please be kind enough to go back to your original post and provide a meaningful title instead of "sas"? Thank you.
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
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.
Ready to level-up your skills? Choose your own adventure.