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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 2600 views
  • 0 likes
  • 2 in conversation