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.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

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!

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
  • 1227 views
  • 1 like
  • 3 in conversation