Using Spatial Data with SAS/GIS Software |
The SAS/GIS Batch Import process
allows you to use SCL code to import data into SAS/GIS without using the interactive
GIS Spatial Data Importing window, or even invoking SAS/GIS. This feature
can be useful when you have large amounts of data to import; it lets you set
up a batch job to run overnight.
The SAS/GIS Batch Import process allows you to define
the values that are needed for the import through macro variables and SAS
filerefs. After you define the values, you then call an SCL entry to actually
initiate the import. The process has three main steps:
- Specify the input parameters. Include the definitions
of the type of data to import, the location of the input spatial data, and
any other specifications regarding identification variables (not necessary
for all import types). Input parameters are defined either by setting the
values of macro variables or by assigning filerefs (depending on the import
type).
- Specify the output parameters. Include the library
in which the output spatial data sets and catalogs will be stored, name specifications
for catalogs, data sets and catalog entries, and whether they will be created,
replaced, or updated. All output parameters are defined by setting the values
of macro variables.
- Initiate the batch import by executing the SASHELP.GISIMP.BATCH.SCL
entry. You do not pass any parameters directly to the SCL entry; the parameters
must all have been defined through macro variables and filerefs before you
call the SCL entry.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.