Hi,
I tried to import stata file into window-SAS 9.3. But it was not successful.
The following is error log.
NOTE: Copyright (c) 2002-2010 by SAS Institute Inc., Cary, NC, USA.
NOTE: SAS (r) Proprietary Software 9.3 (TS1M2)
Licensed to UNIVERSITY OF AKRON - SFA T&R, Site 70109976.
NOTE: This session is executing on the X64_7HOME platform.
NOTE: Enhanced analytical products:
SAS/STAT 12.1, SAS/ETS 12.1, SAS/OR 12.1, SAS/IML 12.1, SAS/QC 12.1
NOTE: SAS initialization used:
real time 1.23 seconds
cpu time 1.18 seconds
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.
I will be appreciated if you guide me how to fix this issue.
Could you post the code you used to import the STATA file?
Hi,
I used window import menu (import data) to import STATA files.
Is your dataset STATA 12 or Later?
I don't know and the STATA file was created by my coauthor. Is that a reason?
Yes, Save the file as an earlier release of Stata (Version 12 or earlier) or save the file as a tab-delimited file. Then try to import it again.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.