A SAS catalog is a special type of SAS file that acts as a container, like a folder, for a variety of content items called catalog entries. Conceptually, this is like a folder in a file system with a diverse collection of file types. The entries and their uses are specific to SAS, and they include things like SOURCE (program code), SCL (SAS Component Language) programs, SAS format definitions, compiled SAS macro programs, and more.
Because SAS catalog content is used most often "behind the scenes", SAS Enterprise Guide users don't typically need to see or manage catalogs. But experienced SAS users remember using the CATALOG window in SAS Display Manager to view and manage the content, and some of you miss this within SAS Enterprise Guide.
Update 04Aug2017: There is now an updated version of this task that allows you to view the content of user-defined formats and informats -- a feature that was highly requested. See the blog post about the update here, and watch a video demonstration of the task on SAS Support Communities.
We've created a custom task to bring some of these features into SAS Enterprise Guide. With the SAS Catalog Explorer task, you can view the catalogs in your SAS libraries, and view the lists of catalog entries within the catalogs. You can also see the text content of certain entries, such as SOURCE and SCL programs (if source is compiled in). And you can delete entries.
To use the task in SAS Enterprise Guide 4.2:
- Make sure you have Microsoft .NET 3.5 SP1 installed. Most Windows 7 and Vista machines will have it; Windows XP users might need to add it.
- Download the file (ZIP archive) from the support site.
- Follow the instructions in README.txt (in the archive) to make the task available for use.
- The task will appear in the Tools menu under Add-Ins->SAS Catalog Explorer.
As a special bonus, this GitHub repo contains the source code (in C#) for this task, which you can build and modify with Microsoft Visual Studio 2008 or Visual C# Express Edition. The task uses several built-in toolkit classes from SAS Enterprise Guide, plus a little bit of the FILENAME CATALOG method and PROC CATALOG.
Have feedback on the task? Please respond via comment here; we'd love to know what additional features are important to you.