Previous Page | Next Page

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;

CONTENTS Operation

CONTENTS displays information about the entries in the specified catalog to the SAS Output window. If a catalog is not specified, CONTENTS displays the entries in the current catalog.

The <libref.>catalog-name arguments specify the SAS catalog in which the GIS spatial, coverage, layer, and map entries that are referred to in subsequent statements in the PROC GIS step are stored.

If the specified catalog does not already exist, it is created when a subsequent SPATIAL, COVERAGE, LAYER, or MAP statement is executed. If you omit libref, the default SAS library, WORK, is used.

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.

The following list contains descriptions of the CONTENTS operation options:

ET = (entry-type-list)

catalog entry types (Map, Spatial Coverage, and Layer).

STATEMENT

displays PROC GIS statements that create the specified entries.

VERBOSE

lists all information about the catalog (type of map, layers, actions, and associated data sets).


Catalog Name Argument

The catalog name argument specifies the name of the catalog that is used in CREATE, REPLACE, and UPDATE operations in subsequent statements. The general form of the argument is

<libref.>catalog-name
If you do not specify a libref, the WORK library is used.

Previous Page | Next Page | Top of Page