SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 18199: PROC IMPORT syntax for importing Stata, SPSS, and JMP files

DetailsAboutRate It
Starting in SAS 9.1.3 SP3, PROC IMPORT has the ability to import Stata,
SPSS, and JMP files. SAS/ACCESS Interface to PC File Formats must be
licensed and installed. The syntax is below:

  /* importing STATA files into SAS */

  proc import out=work.test1
  datafile='C:\stata_files\sfile1.dta'
  dbms=DTA replace;
  run;

  /* importing SPSS files into SAS */

  proc import out=work.test2
  datafile='C:\spss_files\sfile1.sav'
  dbms=SAV replace;
  run;

  /* importing JMP files into SAS */

  proc import out=work.test3
  datafile='C:\jmp_files\jfile1.jmp'
  dbms=JMP replace;
  run;


Operating System and Release Information

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