Chapter Contents |
Previous |
Next |
Using Spatial Data with SAS/GIS Software |
proc copy in=sashelp out=sasuser; select gisimp / mt=data; run;
data sasuser.gisimp; set sasuser.gisimp; /* Make sure that the values of the FILEREF variable are in all upper case. */ if fileref in ('TIGER4' 'TIGER5') then req=1; run;However, you could also use FSBROWSE, FSVIEW, VIEWTABLE, or any other method that you are familiar with to change the value of the REQ variable. Just remember that for the import type that you choose, it will import only from the filerefs for which REQ=1 in the data set.
%let USER_FIL=SASUSER.GISIMP;As long as the USER_FIL macro variable is defined when the SASHELP.GISIMP.BATCH.SCL entry is executed, it will use the current values of REQ to specify which files are imported.
%let imp_type=sasgraph; %let imp_type=SASGRAPH; %let IMP_TYPE=sasgraph; %let IMP_TYPE=SASGRAPH;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.