Chapter Contents |
Previous |
Next |
Using Spatial Data with SAS/GIS Software |
The SASHELP.GISIMP data set supplies values that you need to import your spatial data. Included in this data set are two variables, DEFMLIB and DEFSLIB, which are used to supply the default values for the Map Entries Library and the Spatial Data Sets Library. To specify different default values:
If the specified libref does not exist, an error message is issued, and the name SASUSER is substituted for the libref.
If you do not have WRITE access to the SASHELP library,
and you want to change the default values for the DEFMLIB and DEFSLIB, variables
copy the SASHELP.GISIMP data set to an allocated library to which you do have
WRITE access. Change the values and save the data set as described above.
Before you reinvoke the Import window, you must assign the new location of
the GISIMP data set to the macro variable
USER_FIL
. For example,
if you copy the SASHELP.GISIMP data set to your SASUSER library, submit the
following statement:
%LET USER_FIL=SASUSER.GISIMP;
If you want to use the default values for a particular import without having to modify the SASUSER.GISIMP data set, you can reset the USER_FIL macro variable to the default SASHELP.GISIMP data set. For example:
%LET USER_FIL=SASHELP.GISIMP;
The import will use the values in the data set that the USER_FIL macro variable points to.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.