Task 1: Register with SAS on Demand for Academics:

Video 1: https://youtu.be/EVHVppgpLNw

Sas on Demand for academics lnk:

https://odamid.oda.sas.com/SASODARegistration/

Course code

fa8d3d20-3377-44e9-84a1-b00a46919af4

 

Login to SAS command center: https://odamid.oda.sas.com/

 

 

Task 2: Upload the course files to the server.

  1. Download this zip file: EPG194 and extract the files to any location on your computer. The unzip process creates a folder named EPG194 that includes two SAS programs (setup.sas and createdata.sas) and five sub-folders: activities, data, demos, output, and practices. Note: Remember where you saved your files because you'll need to access them later.

  2. Start SAS Studio from your SAS OnDemand for Academics Dashboard.

  3. At the top of the Server Files and Folders panel, click New New and select Folder.

  4. In the Name box, type EPG194. Click Save. Expand Files(Home) and verify that the EPG194 folder was created.

  5. Make 5 subfolders in EPG194 with the following names: activities, data, demos, output, and practices.
    1. Right-click the EPG194 folder and select New > Folder.
    2. In the Name box, type activities. Click Save.
    3. Follow the same steps to make folders named data, demos, output, and practices.

  6. Upload files to the EPG194 folder.
    1. In SAS Studio, select the EPG194 folder and then click Uploadupload tool.
    2. In the Upload Files window, click Choose Files.
    3. In the Open window, navigate to the EPG194 folder on your computer.
    4. Press Ctrl and select createdata.sas and setup.sas.
    5. Click Open.
    6. Click Upload. The files are added to the EPG194 folder on the server.

  7. Upload files to the activities, data, demos, and practices folders.
    1. In SAS Studio, select the activities folder and then click Uploadupload tool.
    2. In the Upload Files window, click Choose Files.
    3. In the Open window, navigate to the activities folder on your computer.
    4. Select all the files in the folder and click Open.
    5. Click Upload. The files are added to the activities folder on the server.

  8. Perform the same steps to upload files, but this time select the data folder and upload all the files from the data folder on your computer.

  9. Perform the same steps to upload files, but this time select the demos folder and upload all the files from the demos folder on your computer.

  10. Perform the same steps to upload files, but this time select the practicesfolder and upload all the files from the practices folder on your computer.

Task 3: Set the path to the data folder.

  1. In the Server Files and Folders panel, select the EPG194 folder and double-click setup.sas to open it.

  2. In the %LET statement on line 6, replace FILEPATH with ~/EPG194/data. Don't make any other changes to this program.

    Note: In this environment, ~/ is a shortcut to your home folder. If you want to see the full path to one of your folders, you can right-click the folder and select Properties. The path is shown in the Location box.

  3. Click Run Submit tool to submit this program to SAS. 

  4. Check the log for the note Libref PG1 was successfully assigned as follows: followed by the engine and physical name specification.

    If the program does not run successfully, make sure you created the datafolder inside the EPG194 folder, and review your program for errors. Make any updates and resubmit the program.

  5. Click the Code tab and click Save Save tool to save the modified setup.sasprogram.

  6. Close the setup.sas program tab in the workspace. 

Task 4: Create the practice files for the course — you only have to do this once.

  1. In the Server Files and Folders panel, navigate to the EPG194 folder.

  2. Double-click createdata.sas to open the program.
  3. Click RunSubmit tool to submit the program to SAS. This program creates SAS data sets in the data folder. 

  4. Check the log to verify that there are no errors or warnings. There will be many notes because SAS writes a note for each data set that the program creates.

    Note: If your program does not run successfully, make sure you completed all the steps in Task 2 correctly.

  5. Close the createdata.sas program tab in the workspace. You are ready to work in SAS Studio. 

    Note: Unless you delete your practice files, you do not need to perform this task again.