BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User

The different names don't have any naming convention? i.e. data1-data100 or dt_alabama dt_arizona?

PhilC
Rhodochrosite | Level 12

I'm always doing this.  This particular way I can have data set options applied to each dataset.

.

proc sql noprint;
 
select compress(libname || "." ||memname||' &DSoptions.')
   
into: datasets separated by ' '
   
from Dictionary.tables
   
where libname="LIBNAME"  ; *<-- needs to be all caps;
quit;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 16 replies
  • 14812 views
  • 2 likes
  • 7 in conversation