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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.