Determine Whether You Have Write Access

If you are using SAS Studio or SAS University Edition, you might not have Write access to the Sasuser directory where the sample data is stored.
Note: If you are using the SAS windowing environment or SAS Enterprise Guide, you can skip this section.
Submit the following code:
proc options option=rsasuser;
run;
If the result from the OPTIONS procedure code is NORSASUSER, the Sasuser folder is writable.
If the result from the PROC OPTIONS code is RSASUSER, the Sasuser folder is Read only, and you must redirect the Sasuser folder by using a LIBNAME statement. To set up practice data:
  1. In the Folders pane, select My Folders. Then, right-click and select New>Folder.
  2. In the Name box, enter a folder name. This example uses the name certprep. Click Save.
  3. Redirect your SASUSER library to the new folder as follows:
    If you are using SAS University Edition, submit a LIBNAME statement by copying the following code into the Code tab:
    libname sasuser "/folders/myfolders/certprep";
    Note: You must use the filename of the new directory. These examples use the name certprep. If you use another filename, substitute the name that you created.
If you are using SAS Studio, do the following:
  1. Right-click the new folder that you created and select Properties.
  2. Copy the path in the Location field.
  3. Enter the following code, replacing location field with the path that you copied from the Location field.
    libname sasuser "location field";
  4. Click Run.
  5. Save the program as libname_cert.sas. You must resubmit this LIBNAME statement program every time you work with the sample data.
  6. Copy the sample data program into a new Code window in SAS Studio. You can access the sample data at http://support.sas.com/publishing/cert/sampdata.txt.
  7. Click Run.
Now that the sample data is stored in a permanent directory, reissue the LIBNAME statement whenever you want to use the data.
Last updated: January 10, 2018
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.60.158