MAPIMPORT Procedure

Example 3: Excluding a Variable from the SHP Shapefile

In the following example, the STATES.SHP file contains polygons that compose the political boundaries of a U.S. state map. The variable OTHER is excluded from the traditional map data set, MYSTATES2.
PROC MAPIMPORT OUT=mystates2 DATAFILE="C:\states.shp";
     EXCLUDE OTHER;
run;