BookmarkSubscribeRSS Feed
sindhura1
Calcite | Level 5

I want to import multiple excel files into sas and display filenames and corresponding column names.

can anyone help me with this.

3 REPLIES 3
Kurt_Bremser
Super User

What kind of SAS setup do you use?

  • University Edition
  • On Demand for Academics
  • Local, single computer
  • Client/Server with a remote server

Which interface do you use? Enterprise Guide, SAS Studio, or native Display Manager?

sindhura1
Calcite | Level 5
I use Enterprise Guide with Client/Server with a remote server
Kurt_Bremser
Super User

You can create an Import task for every Excel file; the wizard will guide you through this.

 

Or you copy all your Excel files to the SAS server (either by using the Copy Files task, or an external utility like WinSCP), and write code that assigns a library for every Excel file, after which you can use DICTIONARY.TABLES and DICTIONARY.COLUMNS to extract the metadata.

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!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 569 views
  • 0 likes
  • 2 in conversation