BookmarkSubscribeRSS Feed
kimx0961
Obsidian | Level 7

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.

 

5 REPLIES 5
mohamed_zaki
Barite | Level 11

Could you post the code you used to import the STATA file?

kimx0961
Obsidian | Level 7

Hi,

 

I used window import menu (import data) to import STATA files.

mohamed_zaki
Barite | Level 11

Is your dataset STATA 12 or Later?

kimx0961
Obsidian | Level 7

I don't know and the STATA file was created by my coauthor. Is that a reason?

mohamed_zaki
Barite | Level 11

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.

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2677 views
  • 0 likes
  • 2 in conversation