BookmarkSubscribeRSS Feed
GPatel
Pyrite | Level 9


Is there any procedure or code that lists all store processes, olap cubes, information maps off the metadata, like proc contents lists?

2 REPLIES 2
CameronLawson
Obsidian | Level 7

I don't believe there is a procedure that will handle all of these in that fashion.  In saying that, you can get to this information via some different procedures;

  1. Proc Infomaps has a method to list the contents of information maps.  Check out the support docs for the syntax
  2. Proc Metadata will give you all the content you need however you will need to construct an XPath query to feed into the proc to get the information out.  The return from the procedure is XML containing content for the Metadata Type(s) you query.  More of a learning curve but very useful once you get the syntax learnt.  When researching you will need to use the GetMetadata method. 

Hope that helps.

SASBIROX
Calcite | Level 5

Check Angela's blog post that shows how to work with the metadata - specifically she shows the stored processes - but this can be expanded to other metadata.

Various ways of locating components of stored processes

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 2 replies
  • 1413 views
  • 0 likes
  • 3 in conversation