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
@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.
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?
@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.
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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.