BookmarkSubscribeRSS Feed
kkalash
Calcite | Level 5

I imported data (.xls) file into SAS and know (at least pretty sure) I need to create a libname to access the data.  I am not sure how to write this or determine the path of where the uploaded data is stored.

2 REPLIES 2
ballardw
Super User

HOW did you import the xls file? Show code if possible. Otherwise describe options chosen using a wizard.

 

Also any time you get an error that you are asking about it is a good idea to copy the submitted code along with the error message(s) from the log and paste into a code box opened using the forum's {I} menu icon to preserve formatting of any error messages and diagnostic characters.

kkalash
Calcite | Level 5

I used the file -> import, It looks like it is uploading correctly but when  I use a proc contents it has no variables.

 

I know that I need something like a libref to access the files but I am not sure of the code.

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

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