Programmatically list stored processes in metadata

From sasCommunity
Jump to: navigation, search

Using proc metalib I can get a list of Access Control Templates or Access Control Entry objects just by asking for those types of objects. I'd like to similarly be able to get a list of Stored Processes so I can do regular maintenance, such as applying security, that the general users cannot. Looking here: http://support.sas.com/documentation/cdl/en/omamodref/61849/HTML/default/storedprocess.htm, it looks like I would get everything of type "ClassifierMap" that also has a "SourceCode" association, but I'm not sure how to get the association. It sure would be nice if there was a macro or sample code for this. Anybody worked this out and can give me a hint?