<?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 Sas OnDemand Quota Problem with Certification Data Error in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643845#M9092</link>
    <description>&lt;P&gt;I am preparing for the SAS 9.4 Base Programming Performance-Based Exam and while trying to solve the practice exam using the data given here: &lt;A href="https://support.sas.com/downloads/package.htm?pid=2339" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=2339&lt;/A&gt;. After third program submitted the system gave me error;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;CODE&gt;User &amp;lt;username&amp;gt; has insufficient permissions to create /home/&amp;lt;username&amp;gt;/.. Contact your system administrator to resolve.&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My username at right below corner switched from "u0*******" to my e-mail address and when I reload the homepage my quota usage increased from 518 MB to 5618 MB. I checked properties of&amp;nbsp; the new files that I uploaded and also outputs I created but all of them was under 1 MB in size. When I deleted them all, the quota reversed back. In the end, I could not complete the practice exam. I am posting the 3 practice program that I have submitted before the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname cert "/home/u43396434/Cert/input";&lt;BR /&gt;libname results "/home/u43396434/Cert/output";&lt;/P&gt;&lt;P&gt;data results.output04;&lt;BR /&gt;set cert.input04;&lt;BR /&gt;INT1=round(VAR1);&lt;BR /&gt;INT2=round(VAR2);&lt;BR /&gt;VAR3=round(VAR1) * round(VAR2);&lt;BR /&gt;VAR20=sum(of VAR12-VAR19);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=results.output04;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=cert.input08a out=sorteda;&lt;BR /&gt;by ID;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=cert.input08b out=sortedb;&lt;BR /&gt;by ID;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data results.match08 results.nomatch08 (drop=Ex:);&lt;BR /&gt;merge sorteda (in = up1) sortedb (in = up2);&lt;BR /&gt;by ID;&lt;BR /&gt;if up1 = 1 and up2 = 1 then output results.match08;&lt;BR /&gt;else output results.nomatch08;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data= results.nomatch08;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data results.output12;&lt;BR /&gt;set cert.input12;&lt;BR /&gt;do until (salary&amp;gt;500000);&lt;BR /&gt;salary=salary*0.0565;&lt;BR /&gt;year+1;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=results.output12;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 09:34:19 GMT</pubDate>
    <dc:creator>nusretipek</dc:creator>
    <dc:date>2020-04-29T09:34:19Z</dc:date>
    <item>
      <title>Sas OnDemand Quota Problem with Certification Data Error</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643845#M9092</link>
      <description>&lt;P&gt;I am preparing for the SAS 9.4 Base Programming Performance-Based Exam and while trying to solve the practice exam using the data given here: &lt;A href="https://support.sas.com/downloads/package.htm?pid=2339" target="_blank"&gt;https://support.sas.com/downloads/package.htm?pid=2339&lt;/A&gt;. After third program submitted the system gave me error;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;CODE&gt;User &amp;lt;username&amp;gt; has insufficient permissions to create /home/&amp;lt;username&amp;gt;/.. Contact your system administrator to resolve.&lt;/CODE&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My username at right below corner switched from "u0*******" to my e-mail address and when I reload the homepage my quota usage increased from 518 MB to 5618 MB. I checked properties of&amp;nbsp; the new files that I uploaded and also outputs I created but all of them was under 1 MB in size. When I deleted them all, the quota reversed back. In the end, I could not complete the practice exam. I am posting the 3 practice program that I have submitted before the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname cert "/home/u43396434/Cert/input";&lt;BR /&gt;libname results "/home/u43396434/Cert/output";&lt;/P&gt;&lt;P&gt;data results.output04;&lt;BR /&gt;set cert.input04;&lt;BR /&gt;INT1=round(VAR1);&lt;BR /&gt;INT2=round(VAR2);&lt;BR /&gt;VAR3=round(VAR1) * round(VAR2);&lt;BR /&gt;VAR20=sum(of VAR12-VAR19);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=results.output04;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=cert.input08a out=sorteda;&lt;BR /&gt;by ID;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=cert.input08b out=sortedb;&lt;BR /&gt;by ID;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data results.match08 results.nomatch08 (drop=Ex:);&lt;BR /&gt;merge sorteda (in = up1) sortedb (in = up2);&lt;BR /&gt;by ID;&lt;BR /&gt;if up1 = 1 and up2 = 1 then output results.match08;&lt;BR /&gt;else output results.nomatch08;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data= results.nomatch08;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data results.output12;&lt;BR /&gt;set cert.input12;&lt;BR /&gt;do until (salary&amp;gt;500000);&lt;BR /&gt;salary=salary*0.0565;&lt;BR /&gt;year+1;&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=results.output12;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643845#M9092</guid>
      <dc:creator>nusretipek</dc:creator>
      <dc:date>2020-04-29T09:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sas OnDemand Quota Problem with Certification Data Error</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643853#M9093</link>
      <description>&lt;P&gt;You did not see the dataset because it's creation failed, but it is quite obvious why you overran your quota:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data results.output12;
set cert.input12;
do until (salary&amp;gt;500000);
salary=salary*0.0565;
year+1;
output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The starting salary is about 250000, but your formula &lt;U&gt;&lt;EM&gt;decreases&lt;/EM&gt;&lt;/U&gt; the value, so you will never reach the condition for terminating.&lt;/P&gt;
&lt;P&gt;If you want to do an increase by percentage, you need to add 1:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data results.output12;
set cert.input12;
do until (salary &amp;gt; 500000);
  salary = salary * (1 + 0.0565);
  year + 1;
  output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also note how a little indentation and use of whitespace makes code readable.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 10:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643853#M9093</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-29T10:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sas OnDemand Quota Problem with Certification Data Error</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643875#M9094</link>
      <description>&lt;P&gt;Thank you for the helpful answer. Still, it is quite amazing how a wrong loop logic fills up 5GB of data in less than 10 seconds.&lt;/P&gt;&lt;P&gt;The spacing and indentation was good but lost on the forum posting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 11:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643875#M9094</guid>
      <dc:creator>nusretipek</dc:creator>
      <dc:date>2020-04-29T11:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sas OnDemand Quota Problem with Certification Data Error</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643883#M9095</link>
      <description>&lt;P&gt;You're talking SAS here, not some Micro-crap like Excel. Just to give you a perspective, I added a "safety valve" to your code, and ran it on my University Edition on a MacBook Pro:&lt;/P&gt;
&lt;PRE&gt; 78         do until (salary&amp;gt;500000 or year &amp;gt; 1000000);
 79         salary=salary*0.0565;
 80         year+1;
 81         output;
 82         end;
 83         run;
 
 NOTE: There were 1 observations read from the data set CERT.INPUT12.
 NOTE: The data set RESULTS.OUTPUT12 has 997986 observations and 2 variables.
 NOTE:  Verwendet wurde: DATA statement - (Gesamtverarbeitungszeit):
       real time           0.24 seconds
       cpu time            0.10 seconds
 &lt;/PRE&gt;
&lt;P&gt;So you can see that it took only a quarter of a second to write a million records (filesize: 16MB) on a notebook. In a second, it would have been at 64 MB, in 10 seconds at 640 MB or even more. On a notebook.&lt;/P&gt;
&lt;P&gt;Now think of a dedicated server with premium storage at the backend, and server-grade CPUs.&lt;/P&gt;
&lt;P&gt;That's why prudent server admins ALWAYS have quota restrictions set for end users on servers. One careless typo can cause a showstopper for everyone else (if you fill /home or the WORK location, nobody can start a SAS session).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:00:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Sas-OnDemand-Quota-Problem-with-Certification-Data-Error/m-p/643883#M9095</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-29T12:00:37Z</dc:date>
    </item>
  </channel>
</rss>

