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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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