MAPIMPORT Procedure

SELECT Statement

Selects the fields from the shapefile that are included in the output map data set.
Restriction: If you specify conflicting values for the EXCLUDE and SELECT statements, then the MAPIMPORT procedure produces an error.
Requirement: At least one field-identifier is required.

Syntax

SELECT 'field-identifier(s)';

Required Argument

'field-identifier(s)'
specifies one or more fields from the shapefile that are included in the output map data set. If you do not use the SELECT statement or the EXCLUDE statement, then all of the fields from the shapefile are included in the output map data set.
For field identifiers that are not valid SAS variable names, the MAPIMPORT procedure changes the name of the variable in the output map data set automatically. For more information about valid SAS variable names, see Names in the SAS Language in SAS Language Reference: Concepts in the SAS Language Reference: Concepts.