BookmarkSubscribeRSS Feed
jdmarshg
Obsidian | Level 7

Hello everyone,

I'm looking for a way to be able to pull in all the objects created in SAS DI studio.

I first looked to the dictionary and sashelp but they are not pulling information from the environment really.

Any suggestions.

proc sql;

   describe table dictionary.tables;

proc sql;

   describe view sashelp.vtable;

proc sql;

   title 'All Tables and Views in the SQL Library';

   select libname, memname, memtype, nobs

      from dictionary.tables;

proc sql;

   select * from sashelp.VLIBNAM;

proc sql;

   title 'All Tables and Views in the SQL Library';

   select * from dictionary.tables;

2 REPLIES 2
Patrick
Opal | Level 21

SAS DI Studio is SAS Metadata driven. So what you create there is stored in the SAS Metadata repository.

The "physical" objects like SAS tables get only created once you execute code on the SAS server.

jdmarshg
Obsidian | Level 7

Thank you Patrick that definitely helps.

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 555 views
  • 0 likes
  • 2 in conversation