Usage Note 15778: How to specify formats when importing data from Excel
The following example shows the syntax for specifying the format of
Excel data in PROC IMPORT, as supported by SAS/ACCESS Interface for PC
Files:
PROC IMPORT OUT= WORK.test5
DATAFILE= "c:\dbms\excel\V2000\sasdemo.xls"
DBMS=EXCEL REPLACE;
Range="Customer_Information";
GETNAMES=YES;
FORMAT FIRST_ORDER_Date mmddyy10. NAME $32. ;
RUN;
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows NT Workstation | 9.1 TS1M3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 | |
Microsoft Windows XP Professional | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | medium |
Date Modified: | 2005-11-11 15:28:37 |
Date Created: | 2005-07-15 14:57:09 |