The GIS Procedure

CATALOG Statement

Identifies the default SAS catalog in which GIS spatial, coverage, layer, and map entries are stored when you specify one-level catalog entry names in subsequent statements in the PROC step.
Note: The CATALOG statement permanently replaces the CATALOG= option that is specified in the PROC GIS statement. If you use the CATALOG= option in the PROC GIS statement and then submit a CATALOG statement, subsequent statements in the GIS procedure refer to the catalog that was named in the most recent CATALOG statement.


CATALOG <CONTENTS <options>> <libref.>catalog-name;

Required Argument

specifies the name of the catalog that is used in CREATE, REPLACE, and UPDATE operations in subsequent statements. If the specified catalog does not already exist, it is created when a subsequent SPATIAL, COVERAGE, LAYER, or MAP statement is executed.
Default:If you do not specify a libref, the WORK library is used.


CONTENTS <options>
displays information about the entries in the specified catalog to the SAS Output window. The CONTENTS operation takes the following options:
ET = (entry-type-list)
specifies the catalog entry types to display. The entry-type-list value can contain any combination of MAP, SPATIAL, COVERAGE, and LAYER.
displays PROC GIS statements that create the specified entries.
lists all information about the catalog (type of map, layers, actions, and associated data sets).


You can temporarily override the CATALOG statement by specifying fully qualified (three-level) entry names in the SPATIAL, COVERAGE, LAYER, and MAP statements. This does not reset the current default catalog.