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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 596 views
  • 0 likes
  • 2 in conversation