<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error to Access datasets in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/269937#M522</link>
    <description>The issue is that SASUSER is read-only in this setup.  Try writing you dataset out to WORK or any other library you have defined, e.g. data work.testscores and data work.fitness.</description>
    <pubDate>Thu, 12 May 2016 02:56:06 GMT</pubDate>
    <dc:creator>rshannonsmith_SAS</dc:creator>
    <dc:date>2016-05-12T02:56:06Z</dc:date>
    <item>
      <title>Error to Access datasets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/268640#M483</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the errors below of the log when I run the program to get access to my pratice data for an e learning course I am taking for statistics 1. Introduction to Anova, Regression and Logistic regression. The program is a master program St100d01.sas. Any help will be appreciated. You can contact me at vicnunez@aol.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 92         
 93         data sasuser.testscores;
 94             input Gender $ 1-6 SATScore 8-11 IDNumber 13-20;
 95             datalines;
 
 ERROR: Write access to member SASUSER.TESTSCORES.DATA is denied.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds
       
 176        ;
 
 
 177        run;
 178        
 179        data sasuser.fitness;
 180            input @1 Name $8. @10 Gender $1. @12 RunTime 5.2 @18 Age 2. @21 Weight 5.2
 181                @27 Oxygen_Consumption 5.2 @33 Run_Pulse 3.
 182                @37 Rest_Pulse 2. @40 Maximum_Pulse 3.;
 183            Performance=260-round(10*runtime + 2*age + 4*(Gender='F'));
 184            datalines;
 
 ERROR: Write access to member SASUSER.FITNESS.DATA is denied.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 May 2016 18:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/268640#M483</guid>
      <dc:creator>vnunez52</dc:creator>
      <dc:date>2016-05-05T18:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error to Access datasets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/268642#M484</link>
      <description>&lt;P&gt;I'm assuming you're using SAS UE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, you used the incorrect setup files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at the first set of instructions and there will be one explicitly for SAS UE, ues that one.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2016 19:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/268642#M484</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-05T19:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error to Access datasets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/269937#M522</link>
      <description>The issue is that SASUSER is read-only in this setup.  Try writing you dataset out to WORK or any other library you have defined, e.g. data work.testscores and data work.fitness.</description>
      <pubDate>Thu, 12 May 2016 02:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/269937#M522</guid>
      <dc:creator>rshannonsmith_SAS</dc:creator>
      <dc:date>2016-05-12T02:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error to Access datasets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/270528#M535</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The program that you reference: &lt;STRONG&gt;St100d01.sas&lt;/STRONG&gt; is used in the classroom version of our Statistics 1 class. You must have a book and the data from a Statistics 1 classroom offering. On the classroom lab machines, students have write access to the SASUSER library on the lab machines.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, as others have noted, when you use SAS University Edition, in a Virtual Machine, or on the Amazon AWS, you do NOT have write access to the SASUSER library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So you have a few different options (these options are mutually exclusive):&lt;/P&gt;
&lt;P&gt;1) as suggested, you could change the code to write to WORK,but that means you would have to recreate the data files every time you wanted to use the data;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;2) you could create a Univ Edition folder in your shared folder location like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;/folders/myfolders/stat1&lt;/FONT&gt; &lt;/STRONG&gt;and then, BEFORE you run the setup program&amp;nbsp; &lt;STRONG&gt;St100d01.sas&lt;/STRONG&gt; you could issue this statement to "redirect" the SASUSER library to the new folder location:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname sasuser '/folders/myfolders/stat1';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and then the program would not need to be changed, but you would have to remember to issue this LIBNAME statement every time you started working. With this approach, you'd only have to run the setup program 1 time;&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;3) you could switch to using the Statistics 1 e-learning class, which has explicit instructions for making data in SAS University Edition (which do not use SASUSER). Instead for SAS University Edition, they recommend that you make a folder in your shared folders location like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;/folders/myfolders/ecst131&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and then they recommend that you issue these 2 LIBNAME statements (that do NOT use SASUSER):&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname statdata '/folders/myfolders/ecst131';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;libname library '/folders/myfolders/ecst131';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;if you are going to switch to the e-learning version of the course, your setup program will be different than the one we use in the classroom. For the e-learning course, look in Task 2 at Step 2 of the setup instruction to get the e-learning program that references the STATDATA library. Again, with this approach, you would only have to run the setup program 1 time, but you would then use the e-learning course for practices, since the data INSIDE the course matches the lectures INSIDE the course. The e-learning course data and lectures will NOT match the book that you have from the classroom offering.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to continue working with your book from the classroom version of the class then you should pick between options 1 and 2. If you are willing to switch to using the e-learning version of the course, which has explicit instructions for the University Edition, then pick option 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps explain why the program you referenced uses the SASUSER library. It was from a course that is primarily taught to users who have write access to their SASUSER location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2016 17:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-to-Access-datasets/m-p/270528#M535</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-05-14T17:25:03Z</dc:date>
    </item>
  </channel>
</rss>

