SAS Institute. The Power to Know

SAS/GIS(R) 9.2: Spatial Data and Procedure Guide

space
Previous Page | Next Page

The GIS Procedure

SYNC Statement

SYNC <libref.catalog.>entry<.type> </ options>;

Description

SYNC updates a SAS/GIS catalog entry libref and the internal pathname. You can sync a single GIS entry or include the dependent entries on a catalog entry. Before you use the SYNC statement on a catalog entry, make sure that you have WRITE permission to the source location.


SYNC Statement Optional Arguments

  • ALIAS=(old-libref-1=new-libref-1 <, ... ,old-libref-n=new-libref-n>)

  • BLANK

  • ENTRYTYPE=type

  • SELECT= _ALL_ | ENTRY

The following sections contain descriptions of additional SYNC statement arguments.


ALIAS= Argument

ALIAS=(new-libref-1=old-libref-1 <, ... ,new-libref-2=old-libref-2>)

ALIAS= specifies libref translations. The old-libref value is the libref that is stored in the existing catalog entry. The new-libref value is the libref that you want to substitute in the synchronized version of the entry.


BLANK Argument

BLANK

BLANK specifies that internal pathnames should be cleared in the updated entries.


ENTRYTYPE= Argument

ENTRYTYPE=type

ENTRYTYPE= specifies the type of GIS catalog entry to move. The following are the values for type:

  • GISSPA or SPATIAL

  • GISMAP or MAP

  • GISLAYER or LAYER

  • GISCOVER or COVERAGE.

This argument can be omitted if a complete, four-level entry name is specified. The following statements are identical:

  • SYNC SASUSER.MALL.STORES ENTRYTYPE=GISMAP...

  • SYNC SASUSER.MALL.STORES.GISMAP ...

Note:   When specifying four-level entry names, type must be the actual SAS/GIS catalog entry extension, for example, GISMAP, not MAP.  [cautionend]


SELECT= Argument

SELECT= _ALL_ | ENTRY

SELECT= specifies which catalog entries that are referenced by the source entry should be updated. The following are the values for this argument:

_ALL_

updates all dependent catalog entries. This is equivalent to specifying ENTRY.

ENTRY

updates all dependent catalog entries.

space
Previous Page | Next Page | Top of Page