BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
pp2014
Fluorite | Level 6
I am using Proc import to read excel file. It has more than 300 columns. But it reads only 255 columns. Does anybody know whether there is any option to read more columns? I am using SAS 9.2 version. Following is my sample code: PROC IMPORT OUT= want DATAFILE= "c\have.xlsx" DBMS=excel REPLACE; RUN;
1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

Are you using SAS UE as your title indicates, or SAS 9.2?

 

Try DBMS=XLSX if SAS UE. 

 

The 255 limit is from Excel ACE engine, not a SAS limitation so you may need to convert file to CSV to import it correctly. 

View solution in original post

2 REPLIES 2
Reeza
Super User

Are you using SAS UE as your title indicates, or SAS 9.2?

 

Try DBMS=XLSX if SAS UE. 

 

The 255 limit is from Excel ACE engine, not a SAS limitation so you may need to convert file to CSV to import it correctly. 

ChrisHemedinger
Community Manager

If you're using SAS 9.2 then you're not using SAS University Edition.  SAS 9.2 did not support the native XLSX format, so you'll probably need to convert your Excel file into a CSV in order for SAS to read the entire thing.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1396 views
  • 1 like
  • 3 in conversation