title: Read Stata version 13 file in SAS 9.4
body: <p>I'm trying to import a Stata version 13 file in my SAS 9.4 - but keep getting the error message </p>
  
  <p><strong>For Stata, Release flags of 103 to 115 are supported.  You had -> 60
  Requested Input File Is Invalid
  ERROR: Import unsuccessful.  See SAS Log for details.</strong></p>
  
  <p>Folliwing code does not work: </p>
  
  <pre><code>proc import out = uw14 datafile = "C:\User\KE14_hhld.dta"; run; 
  </code></pre>
  
  <p>Neither does this: <code>proc import out = uw14 datafile = "C:\User\KE14_hhld.dta"
  dbms = stata replace; run;</code></p>
  
  <p>I've found out that SAS 9.4 does not read Stata version 13 files. SAS 9.4 only reads Stata 12 files (or earlier). </p>
  
  <p>One solution could be to save the Stata 13 file as an older version - but I only have Stata 12 on my computer and it's unable to open the version 13 file. 
   Another solution could be to save it as a CSV file in R - this done by following code:</p>
  
  <pre><code>proc import out = uw14 datafile = "C:\User\KE14_hhld.csv"; run; 
  </code></pre>
  
  <p>But I've tried this and the transformation sets an unmanageable amount of my variables as characteristics instead of numeric and kills all formats. </p>
  
  <p>Any other ideas? </p>
  
  <p>(I'm not able to download other versions than SAS9.4 and Stata12)
  Thanks </p>