SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 19710: Disk errors when importing a large Stata file into SAS or exporting large data sets to a Stata file

DetailsHotfixAboutRate It
Using PROC IMPORT to read a large Stata .dta file (more than 1900 
variables, for example) results in a "Disk Read Request Error". 
 
  proc import out=test 
  datafile="c:\stata files\large_dta.dta" 
  dbms=dta replace; 
 Disk Read Request Error 
 ERROR: Import unsuccessful.  See SAS log for details. 
 
Using PROC EXPORT to export a large data set (1200 vars, for example) to 
a Stata .dta file results in a 'Disk Write Error'. 
 
 proc export data = work.largefile 
 outfile = 'c:\stata files\est.dta' 
 dbms = dta replace; 
Disk Write Error 
ERROR: Export unsuccessful. See SAS log for details. 
 
Exporting a smaller data set to a Stata .dta file works correctly. This 
issue has been fixed in SAS® 9.2. 





Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft Windows XP 64-bit Edition9.1 TS1M3 SP39.2
Microsoft Windows XP Professional9.1 TS1M3 SP39.2
Microsoft Windows NT Workstation9.1 TS1M3 SP39.2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP39.2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP39.2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP39.2
Microsoft Windows 2000 Server9.1 TS1M3 SP39.2
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP39.2
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP39.2
Microsoft Windows 2000 Professional9.1 TS1M3 SP39.2
* 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.