O'Reilly logo

SAS 9.4 Language Reference, 6th Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 30
SAS Catalogs
Definition of a SAS Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
SAS Catalog Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
Parts of a Catalog Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
Accessing Information in Catalogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696
Tools for Managing SAS Catalogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696
Profile Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Definition of a Profile Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
How the Information Is Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
How Sasuser.Profile Is Created . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Default Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
How to Recover Locked or Corrupt Profile Catalogs . . . . . . . . . . . . . . . . . . . . . . 698
Catalog Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698
Example 1: LIBNAME Catalog Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
Example 2: CATNAME Catalog Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . 700
Rules for Catalog Concatenation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Definition of a SAS Catalog
SAS catalogs are special SAS files that store many different types of information in
smaller units called catalog entries. Each entry has an entry type that identifies its
purpose to SAS. A single SAS catalog can contain several types of catalog entries. Some
catalog entries contain system information such as key definitions. Other catalog entries
contain application information such as window definitions, help windows, formats,
informats, macros, or graphics output. You can list the contents of a catalog using
various SAS features, such as SAS Explorer and PROC CATALOG.
SAS Catalog Names
Parts of a Catalog Name
SAS catalog entries are fully identified by a four-level name in the following form:
695

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required