BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
bits
Fluorite | Level 6
Im using SAS 9.0 for practicing SAS tutorials.. as im trying to import .xlsx file using proc import but it shows log error.... I'd written something like...
Proc import datafile="C:/desktop/data.xlsx
Out=work.sample
Dbms=xlsx
Replace;
Getnames=yes;
Run;
Im using bit old sas version...is this a reason for showing error... If it is so then plz give me a solution for this so that i can import excel file easily...
Thanks in advance..
1 ACCEPTED SOLUTION
5 REPLIES 5
Kurt_Bremser
Super User

9.0 is really very old and lacks any support for the newer xlsx format. The simplest ways is to save the Excel data as csv and import that with a data step.

bits
Fluorite | Level 6
I'd also done the same...just changed the extension of file from .xlsx to .csv but didn't worked out for me...is there any other possible solution for this..?
bits
Fluorite | Level 6
How to do it..?

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