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.
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.
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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.