BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Dear all

I am having trouble to correctly export my data from SAS 9.1.3 to Access 2002 SP 3 under Windows XP. A strange rounding error appears throughout my whole dataset: every time a negative round number should be exported (like a "-1.000000" in the SAS-table) it somehow gets rounded down in Access to "-0.999999" is there a reason for that? Can anyone explain why this happens, and does anyone have an idea how this can be fixed?

The variable in sas has the format "8.", and I'm exporting with following statement:

PROC EXPORT DATA= output_sas_table
OUTTABLE= "output_table"
DBMS=ACCESS REPLACE;
DATABASE="c:\path\to\some\access_file.mdb";

Thanks in advance.

Regards

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Discussion stats
  • 0 replies
  • 643 views
  • 0 likes
  • 1 in conversation