SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52835: Exporting to Microsoft Access files puts incorrect data into the file when there are dates in the first column

DetailsHotfixAboutRate It

When you are using the ACCESSCS engine to create MDB or ACCDB files, the data that is written to Microsoft Access files might be incorrect.

The problem occurs when there is a large volume of data and the first column of the SAS data written to the Microsoft Access file contains a date. The problem occurs because of a buffering issue in the SAS® PC Files Server itself.

To resolve the problem, you need to control the buffering that is used to export to this type of file. Use the DBDSOPTS='Insertbuff=1' parameter as shown below:

proc export data=sasdata outtable="my-table" dbms=accesscs replace; database='c:\my-directory\my-file.accdb'; dbdsopts='Insertbuff=1'; quit;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft Windows Server 2003 Enterprise Edition9.39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.39.3 TS1M0
Microsoft® Windows® for x649.39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.39.3 TS1M0
Microsoft Windows Server 2003 for x649.39.3 TS1M0
Microsoft Windows Server 20089.39.3 TS1M0
Microsoft Windows Server 2008 R29.39.3 TS1M0
Microsoft Windows Server 2008 for x649.39.3 TS1M0
Windows 7 Enterprise x649.39.3 TS1M0
Windows 7 Home Premium x649.39.3 TS1M0
Windows 7 Professional x649.39.3 TS1M0
Windows 7 Ultimate x649.39.3 TS1M0
Windows Vista for x649.39.3 TS1M0
64-bit Enabled AIX9.39.3 TS1M0
64-bit Enabled HP-UX9.39.3 TS1M0
64-bit Enabled Solaris9.39.3 TS1M0
HP-UX IPF9.39.3 TS1M0
Linux9.39.3 TS1M0
Linux for x649.39.3 TS1M0
Solaris for x649.39.3 TS1M0
* 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.