If you know how to program in SAS Studio via SAS University Edition, you don't need to relearn the SAS programming language. Many SAS programs can be copied and pasted from SAS Studio in SAS University Edition to SAS Studio in SAS OnDemand for Academics without any changes. The following code accesses the cars data set in the sashelp library:
proc freq data=sashelp.cars;
You can enter and execute the code in SAS Studio in SAS University Edition.
Without modification, the copied and pasted code executes in SAS Studio in SAS OnDemand for Academics.
Use the point and click tools in SAS Studio in SAS OnDemand for Academics to upload data and programs from your computer:
If you have written programs in SAS Studio in SAS University Edition, it’s easy to make modifications to your libname statements and file references so your programs will run in SAS Studio in SAS OnDemand for Academics. You do not need to open SAS University Edition in order to access the My Folders directory. In SAS Studio in SAS University Edition, the My Folders directory is referred to using the following path: “/folders/myfolders”. This path in a libname statement or file reference allows you to access data.
In SAS Studio in SAS OnDemand for Academics, the Files (Home) directory can be referred to using the following path “~/”. By simply changing “/folders/myfolders” to “~/” the same program runs in SAS Studio in SAS OnDemand for Academics. Note: Subdirectory paths and file references are case-sensitive in SAS OnDemand for Academics.
All SAS Studio users can upload local data (such as SAS data sets or .csv files) to use within the application (as well as with other SAS OnDemand for Academics applications). Only the user who uploaded the data can use it. This data is stored on the SAS OnDemand for Academics servers.
Note: If you are an instructor and need to upload data that can be accessed by all the students who register for your course, see Uploading Course Data.
Note: If you do not have an account, see SAS OnDemand for Academics Registration Instructions.
The Upload Files dialog box is displayed.
After uploading, you see your local data in the folder that you selected.
Note: You can refresh your course data by uploading the data again. If you upload your data again, then your existing, uploaded data is overwritten.
Note: You have a limit of 5GB of individual data storage space.
If video instructions work better for you, here is a tutorial just under 4 minutes long:
After you have uploaded local data, you can use that data within SAS Studio. If you are associated with courses that use either SAS Enterprise Guide or SAS Enterprise Miner, then you can also access your uploaded data from those programs by specifying a LIBNAME statement.
To access your uploaded data within SAS Studio, SAS Enterprise Guide, or SAS Enterprise Miner, determine the appropriate LIBNAME statement and then use that LIBNAME statement in your code.
The New Library dialog box is displayed.
The Library Properties dialog box is displayed.
For example, if your library path is /my_shared_file_links/UUUUUUUUand you want to create a library named mydata, then the LIBNAME statement would be the following:
LIBNAME mydata "/my_shared_file_links/UUUUUUUU";
Note: SAS Enterprise Guide users can also upload local data directly within SAS Enterprise Guide and use it as needed. Unlike the process documented in this guide, the uploaded data remains available only for the current SAS Enterprise Guide session unless it is downloaded before the session ends. For more information about SAS Enterprise Guide, see SAS Enterprise Guide documentation.
Questions about getting started with SAS OnDemand for Academics? SASoda@sas.com
Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.
Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.