BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sas_learnsups
Obsidian | Level 7

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

PROC IMPORT with DBMS=XLSX will import 2000+ columns, did it earlier today. 

 


@sas_learnsups wrote:

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS


 

View solution in original post

4 REPLIES 4
Reeza
Super User

PROC IMPORT with DBMS=XLSX will import 2000+ columns, did it earlier today. 

 


@sas_learnsups wrote:

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS


 

sas_learnsups
Obsidian | Level 7

Many Thanks Reeza, I did use the proc import and it worked.

 

 

AndrewHowell
Moderator

What's your version of SAS (PROC SETINIT) and same for MS-Office?

sas_learnsups
Obsidian | Level 7
Sorry friend. got busy doing other set of codes and will check for myself in some time. Many Thanks.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1676 views
  • 0 likes
  • 3 in conversation