<?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: Issue reg deletion of rows from sashelp.class dataset. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389206#M66014</link>
    <description>&lt;P&gt;SAS UE doesn't&amp;nbsp;allow&amp;nbsp;you to do that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;57&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;58 proc sql;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;59 delete * from sashelp.class where age=13;&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1502436063217" class="sasError"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR: User does not have appropriate authorization level for file SASHELP.CLASS.DATA.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1502436063217" class="sasNote"&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;60 quit;&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1502436063217" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1502436063217" class="sasNote"&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159664"&gt;@Avijeet&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;FYI I am a student. I am learning SAS now and &lt;STRONG&gt;I don't use the licensed software.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am using the university edition. What should I do to get back the deleted records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
What exactly do you mean by University Edition? If it's the one downloaded from SAS UE, the quickest way is to redownload the image and re-install.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Aug 2017 19:15:41 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-08-18T19:15:41Z</dc:date>
    <item>
      <title>Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389195#M66010</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
delete from sashelp.class
where age&amp;gt;13;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi, I used the above mentioned SAS code to delete the observations from sashelp.class dataset whose age is greater than 13.&lt;/P&gt;&lt;P&gt;By doing so, 9 records got deleted. Now when I use Proc Print statement to display the same dataset, I only get 10 records instead of 19 which is obvious. How can I get back all the 9 deleted observations? I tried using Global statements but it didn't work out.&lt;/P&gt;&lt;P&gt;Now I can not perform any manipulations or analysis on a dataset that has incomplete observations.&lt;/P&gt;&lt;P&gt;Please help me solving this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Avijeet&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 18:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389195#M66010</guid>
      <dc:creator>Avijeet</dc:creator>
      <dc:date>2017-08-18T18:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389201#M66012</link>
      <description>&lt;P&gt;1. I'm surprised you were able to delete those rows, usually SASHELP is locked down.&lt;/P&gt;
&lt;P&gt;2. You cannot replace the rows once their deleted unless you have some options set up on your server.&amp;nbsp;You'll need to get the original dat a back somehow. Maybe a colleague will have it on their system? Its not just the data, its the labels and formats as well, so I recommend getting the SAS dataset from someone with a similar set up to yours.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 19:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389201#M66012</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-18T19:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389204#M66013</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;FYI I am a student. I am learning SAS now and I don't use the licensed software.&lt;/P&gt;&lt;P&gt;I am using the university edition. What should I do to get back the deleted records?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 19:12:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389204#M66013</guid>
      <dc:creator>Avijeet</dc:creator>
      <dc:date>2017-08-18T19:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389206#M66014</link>
      <description>&lt;P&gt;SAS UE doesn't&amp;nbsp;allow&amp;nbsp;you to do that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;57&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;58 proc sql;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;59 delete * from sashelp.class where age=13;&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1502436063217" class="sasError"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ERROR: User does not have appropriate authorization level for file SASHELP.CLASS.DATA.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1502436063217" class="sasNote"&gt;NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;60 quit;&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1502436063217" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote3_1502436063217" class="sasNote"&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159664"&gt;@Avijeet&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;FYI I am a student. I am learning SAS now and &lt;STRONG&gt;I don't use the licensed software.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I am using the university edition. What should I do to get back the deleted records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
What exactly do you mean by University Edition? If it's the one downloaded from SAS UE, the quickest way is to redownload the image and re-install.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Aug 2017 19:15:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389206#M66014</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-18T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389213#M66015</link>
      <description>&lt;P&gt;Just to confirm my software information is&lt;/P&gt;&lt;P&gt;SAS 9.1.3 Service Pack 4&lt;/P&gt;&lt;P&gt;XP_PRO platform and not the SAS UE edition.&lt;/P&gt;&lt;P&gt;I got it installed from the institute where I am undergoing training on SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 19:52:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389213#M66015</guid>
      <dc:creator>Avijeet</dc:creator>
      <dc:date>2017-08-18T19:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue reg deletion of rows from sashelp.class dataset.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389241#M66017</link>
      <description>&lt;P&gt;I highly suspect that's an illegal version. Especially if you just installed it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search SAS Analytics U and you can download and work with the latest version. It's free for learning.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 21:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issue-reg-deletion-of-rows-from-sashelp-class-dataset/m-p/389241#M66017</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-18T21:59:22Z</dc:date>
    </item>
  </channel>
</rss>

