| The GIS Procedure |
| CATALOG <CONTENTS> <libref.>catalog-name; |
| Description |
The 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. ![[cautionend]](../../../../common/61925/HTML/default/images/cautend.gif)
| 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 following list contains descriptions of the CONTENTS operation options:
name of a different catalog other than the current one. If specified, this catalog becomes the current catalog for subsequent CREATE/REPLACE/UPDATE statement operations.
catalog entry types (Map, Spatial Coverage, and Layer).
displays PROC GIS statements necessary to re-create the specified entries.
lists all information about the catalog (type of map, layers, actions, and associated data sets).
| Libref and Catalog-Name Arguments |
The arguments <libref.>catalog-name 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.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.