BookmarkSubscribeRSS Feed
sss2
Calcite | Level 5

I am working on SAS studio and trying to import excel file.Apart from excel, I have also tried to convert the file to csv and xml format, but none of them worked.

Everytime I try to import the file, the error occurs.

 

proc import out = sales
Datafile = "C:\SASUniversityEdition\myfolders\Sales.xml"
DBMS = xml replace;
run;

 

 

2 REPLIES 2
mohamed_zaki
Barite | Level 11

Check this 

How to Import an Excel File to SAS University Edition

 

Follow the steps mentioned and if you still having problems post again.

Reeza
Super User

You say Excel but your file reference appears to be XML. 

 

Is it an Excel file or an XML. The process for importing the two are different.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2283 views
  • 0 likes
  • 3 in conversation