Problem Note 31711: Formatting errors might occur when exporting SAS® data sets to Stata
When you use the EXPORT procedure to export a SAS data set with user-defined formats to Stata, the following error might occur:
PROC EXPORT
DATA= WORK.test_format
OUTFILE="C:\temp\fmt_test.dta"
DBMS=DTA REPLACE;
RUN;
ERROR: The format FMT_NU was not found or could not be loaded.
User-defined format names appear to be truncated when exporting to Stata (.dta), leading to a format load error. The correct format name in the example above is FMT_NUM.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to PC Files | Microsoft® Windows® for x64 | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows 2000 Server | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.2 TS1M0 |
Microsoft Windows XP Professional | 9.1 TS1M3 | 9.2 TS1M0 |
Windows Vista | 9.1 TS1M3 | 9.2 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.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-09-10 09:14:36 |
Date Created: | 2008-04-08 13:45:29 |