Chapter Contents

Previous

Next
Using Spatial Data with SAS/GIS Software

CATALOG Statement

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 was 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]


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.


Libref and Catalog-Name Arguments

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

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 data 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.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.