BookmarkSubscribeRSS Feed
kajal_30
Quartz | Level 8

I am trying to read SAS catalog. I have printed out all the contents of the catalog but now I want to see what information in stored in each content .

 

Please help and provide code if possible

 

Kajal

4 REPLIES 4
Tom
Super User Tom
Super User

@kajal_30 wrote:

I am trying to read SAS catalog. I have printed out all the contents of the catalog but now I want to see what information in stored in each content .

 

Please help and provide code if possible

 

Kajal


What tool to use will depend on what type of catalog entries you have.

Are they SAS formats?  Then use the FMTLIB option on the PROC FORMAT satement.

kajal_30
Quartz | Level 8

I can only see the columns as names , type,date created, date modified as the result of contents .But how about if I need to see further in each catalog?

ballardw
Super User

@kajal_30 wrote:

I can only see the columns as names , type,date created, date modified as the result of contents .But how about if I need to see further in each catalog?


Show us the Types of entries.

Many of the catalog entries cannot be "read". Sometimes the contents or use can be displayed but the approach depends on the type.

 

Tom
Super User Tom
Super User

So what types of objects are in this catalogs?

Why not ask SAS?

proc freq data=sashelp.vcatalg order=freq ;
  tables memtype objtype;
run;

Add a WHERE clause to restrict on LIBNAME and/or MEMNAME to see the result for just some of the libraries that you current have defined.

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1296 views
  • 0 likes
  • 3 in conversation