You probably have Directories registered in your SAS Metadata and don’t even know it! Each Base SAS Library points to a directory. Directories containing your Stored Process source code may already be registered. Directories that contains your deployed DI Studio jobs are in Metadata.
This example provides data step code that will query the SAS Metadata and return a list of Directory Objects. The code as-is will create a data step view in the work library, so each time it is accessed it will dynamically query the SAS Metadata.
How to use it
The data step code below assumes that the connection to your Metadata Server has already been configured using the following System Options: