BookmarkSubscribeRSS Feed
kreansanm
Calcite | Level 5

Hi fellow,

I've been looking on the web for the entire day about how to use .sas7bdat sas tables with sas studio university edition. I've tried doing the libname thing and it dosent work. However, I keep reading everywhere that I need to upload it onto the server in order to read it in because it can't read it off the local machine. I have no idea how to do this and its starting to infuriate me.

1 REPLY 1
Tom
Super User Tom
Super User

SAS UE is no longer supported.  You can use SAS ODA which is also using the SAS/Studio interface but instead of running SAS in a virtual machine on your computer it runs SAS on machine that SAS hosts.

 

To upload a file using the SAS/Studio interface you just need to click on the folder where you want to write the file and click on the UPLOAD icon.  You can then browse to the file you want to upload and select it.

Tom_0-1679419069672.png

 

Once you have a sas7bdat file on the machine where SAS is running you can either use the file directly by referencing it using a quoted physical name. Or create a libref pointing to the folder where it lives and using a two level name.

 

So if you uploaded a file name mydata.sas7bdat to your home directory you could use either of these programs to see the content information of the dataset.

proc contents data="~/mydata.sas7bdat"; run;

libname mylib "~";
proc contents data=mylib.mydata; run;

Remember that the SAS session you are using with ODA is running on UNIX.  So the name of file that is the SAS dataset must be in all lowercase letters.  So not MyData.sas7bdat or mydata.SAS7BDAT, but only mydata.sas7bdat.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

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
  • 1 reply
  • 817 views
  • 0 likes
  • 2 in conversation