As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

PROC CATALOG, the Wish Book SAS® Procedure

From sasCommunity
Jump to: navigation, search


SAS® data sets have PROC DATASETS, and SAS catalogs have PROC CATALOG. Find out what the little known PROC CATALOG can do for you!

Michael Raithel characterizes PROC DATASETS as the “Swiss Army Knife of SAS Procedures” (Raithel, 2011). PROC DATASETS can do an amazing array of tasks relating to SAS data sets; PROC CATALOG is a similar, utilitarian procedure. It is handy (like a Leatherman® tool!) itself, and in conjunction with other SAS procedures can be very helpful in managing the special SAS files that are SAS catalogs.

SAS catalogs are specialized SAS files which may hold many entries or elements. Common types of SAS catalogs include format catalogs or libraries, macro catalogs, graphics catalogs, and template catalogs. You can also catalog LOG output, LISTING output and SOURCE files (programs.) SAS catalogs can be used to catalog and manage SAS processing. A SAS catalog may include one or more entries. The default name and extension for a format catalog is formats.sas7bcat, but you don’t have to, and shouldn’t, resort to the default for user-defined formats. Macro, graphic and template catalogs can be named and described in the processes that create them; and also have the extension sas7bcat, for example, sasmacr.sas7bcat in the SASHELP folder. Names and descriptions can greatly enhance ease and reproducibility in data processing – and PROC CATALOG helps get us there. Different types of entries can exist in the same catalog.

Online Materials

Download the paper: File:Paper3459-2015.pdf

Download the e-Poster: File:Poster3459-2015.pptx

Contact the author, Louise Hadden, for code samples.

Ceeotter56 Papers and Presentations QR Code.png