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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1572 views
  • 1 like
  • 3 in conversation