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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.