Usage Note 32531: Datetime-field overflow errors occur when you use the PC File Server in SAS/ACCESS Interface to PC Files to access databases
When you use the ACCESSCS engine to export date variables to Access databases, the following datetime-field overflow errors can occur:
ERROR: CLI execute error: [Microsoft][ODBC Microsoft Access Driver]Datetime field overflow
(null)
WARNING: File deletion failed for _IMEX_.cacs6.DATA.
ERROR: Export unsuccessful. See SAS Log for details.
This problem occurs when you export date values earlier than the year 1753. The ODBC driver that is used by the ACCESSCS engine cannot use date values earlier than 1753.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | 64-bit Enabled AIX | 9.1 TS1M3 | |
64-bit Enabled HP-UX | 9.1 TS1M3 | |
64-bit Enabled Solaris | 9.1 TS1M3 | |
HP-UX IPF | 9.1 TS1M3 | |
Linux | 9.1 TS1M3 | |
Solaris for x64 | 9.1 TS1M3 | |
Tru64 UNIX | 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.
Code that replicates the issue
data a;
input data ddmmyy10.;
format data ddmmyy10.;
cards;
01/05/1752
01/04/1752
01/03/1752
01/02/1752
01/01/1752
;
run;
proc print data=a;
run; quit;
proc export dbms=accesscs
data= a
OUTTABLE= "cacs6" replace;
DATABASE="C:\sastest\a.Mdb";
server="itsvista0819.na.sas.com";
port=8621;
run;
If you use dates earlier than 1753 when you export date variables to Access databases with the ACCESSCS engine, datetime-field over flow errors can occur.
Date Modified: | 2008-07-21 11:14:42 |
Date Created: | 2008-06-24 13:33:11 |