Enclose the options in single or double quotation marks as shown in the examples.
If the option string that you specify contains single quotations marks, use double quotation marks around it in your statement.
DBDSOPTS= 'FIRSTOBS=10 READBUFF=25';
DBDSOPTS= "DBTYPE=(BilledTo='CHAR(8)')";
Due to Microsoft Jet engine and Microsoft ACE engine limitations, using MIXED=YES could result in improper text variable lengths.
Valid only for the IMPORT procedure.
Supported only when DBMS=EXCEL.
When SAS reads the data value in the first row of the
input file, SAS checks for invalid SAS name characters (such as a
blank). Invalid characters are converted to an underscore. For example,
the data value Occupancy Code becomes
the SAS variable name Occupancy_Code
.
The PORT= statement option and the SERVICE= statement option should not be used in the same procedure.
Options
set=DBE_DBCS YES;
Use the PASSWORD= option for database passwords.
LIBNAME DB PCFILES PATH=’C:\myfile.mdb’ SERVER=fileserv; SERVERUSER=’mydomain\myusername’; SERVERPASS=’mypassword’;
Use the USER= option for database user IDs.
LIBNAME DB PCFILES PATH=’C:\myfile.mdb’ SERVER=fileserv; SERVERUSER=’mydomain\myusername’; SERVERPASS=’mypassword’;
The SERVICE= statement option and the PORT= statement option should not be used in the same procedure.
If both the range name and the sheet name are missing, the IMPORT procedure reads the first worksheet that was physically saved in the Excel file.
Processing Date and Time Values between SAS and Microsoft Excel
Available only for client/server model.
MY_ID
.
Valid only for the IMPORT procedure.
Supported only when DBMS=EXCEL5.
When SAS reads the data value in the first row of the
input file, SAS checks for invalid SAS name characters (such as a
blank). Invalid characters are converted to an underscore. For example,
the data value Occupancy Code becomes
the SAS variable name Occupancy_Code
.
PROC IMPORT only
PROC EXPORT only.