Previous Page | Next Page

The GIS Procedure

SYNC Statement


Updates a SAS/GIS catalog entry libref and the internal pathname.
Note: 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 <libref.catalog.>entry<.type> </ options>;

Options

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

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

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

ENTRYTYPE=type

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= _ALL_ | ENTRY

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.

Previous Page | Next Page | Top of Page