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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 470 views
  • 0 likes
  • 2 in conversation