The IMPORT procedure can import data only if SAS supports the data type. SAS supports numeric and character types of data but not (for example) binary objects. If the data that you want to import is a type that SAS does not support, the IMPORT procedure might not be able to import it correctly. In many cases, the procedure attempts to convert the data to the best of its ability. However, conversion is not possible for some types.
For delimited files, the first 20 rows are scanned to determine the variable attributes. You can increase the number of rows scanned using the GUESSINGROWS data source statement. All values are read in as character strings. If a Date and Time format, or numeric informat can be applied to the data value, the type is declared as numeric. Otherwise, the type remains character.
Importing a Specific Delimited File Using a Fileref
When you import a DBMS table, you must specify the DBMS= option.
SAS/ACCESS Interface to PC Files: Reference for a list of additional DBMS values when using
Importing a Specific Delimited File Using a Fileref