You commonly specify the two-level name for an entire catalog, as follows:
is the logical name of the SAS library to which the catalog belongs.
is a valid SAS name for the file.
The entry name and entry type are required by some SAS procedures. If the entry type
has been specified elsewhere or if it can be determined from context, you can use the
entry name alone. To specify entry names and entry types, use this form:
is a valid SAS name for the catalog entry.
is assigned by SAS when the entry is created.
Accessing Information in Catalogs
In Base SAS software, SAS catalog entries are generally accessed automatically by SAS
when the information stored in them is required for processing. In other SAS software
products, you must specify the catalog entry in various procedures. Because the
requirements differ with the SAS procedure or software product, see the appropriate
procedure or product documentation for details.
Tools for Managing SAS Catalogs
There are several SAS features to help you manage the entries in catalogs. The
CATALOG procedure and the CEXIST function are two features of Base SAS software.
Another tool is SAS Explorer, which enables you to view the contents of SAS catalogs.
Many interactive windowing procedures contain a catalog directory window for
managing entries. The following list summarizes the tools that are available for
managing catalogs:
CATALOG procedure
is similar to the DATASETS procedure. Use the CATALOG procedure to copy,
delete, list, and rename entries in catalogs.
CEXIST function
enables you to verify the existence of a SAS catalog or catalog entry. See the
CEXIST function in SAS Functions and CALL Routines: Reference for more
CATALOG window
is a window that you can access at any time in an interactive windowing
environment. It displays the name, type, description, and date of last update for each
entry in the specified catalog. CATALOG window commands enable you to edit
catalog entries. You can also view and edit catalog entries after double-clicking on a
catalog file in SAS Explorer.
702 Chapter 32 SAS Catalogs

Get SAS 9.4 Language Reference, 6th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.