<?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: Get deleted information in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733854#M228674</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I want deleted information in a library&lt;BR /&gt;Which obs and which var deleted for each dataset&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Will only be possible if you have a "before" and "after" data set or if using data set generations(essentially a before and after for the same named data set)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc Compare might be the tool but you will have to tell the procedure which data sets to compare. The data sets should be in the same sort order as well.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 17:22:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-04-14T17:22:45Z</dc:date>
    <item>
      <title>Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733642#M228585</link>
      <description>&lt;P&gt;how to get deleted information which observation is deleted and which variable&amp;nbsp; is&amp;nbsp; deleted in a library&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;delete from work.sashelp.class&lt;BR /&gt;where name='Alfred'&lt;BR /&gt;;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 08:39:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733642#M228585</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-04-14T08:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733645#M228586</link>
      <description>&lt;P&gt;By selecting the obs with a separate select-statement before the delete-statement.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 09:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733645#M228586</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-04-14T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733657#M228595</link>
      <description>&lt;P&gt;Or you do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data
  kept
  deleted
;
set have;
if &amp;lt;condition&amp;gt;
then output kept;
else output deleted;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Apr 2021 09:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733657#M228595</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-14T09:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733675#M228603</link>
      <description>&lt;P&gt;Ah OK,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I thought the questioner was after finding out how many and which observations were logically deleted (and NOT physically deleted).&lt;/P&gt;
&lt;P&gt;But I guess you're program is offering what (s)he is looking for.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 10:58:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733675#M228603</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-04-14T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733677#M228605</link>
      <description>&lt;P&gt;Since (s)he provided garbage as example (untested code that can never run), and not a "have" vs. "want" dataset, it's hard to get what the question is about.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 11:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733677#M228605</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-14T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733719#M228626</link>
      <description>I want deleted information in a library&lt;BR /&gt;Which obs and which var deleted for each dataset</description>
      <pubDate>Wed, 14 Apr 2021 12:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733719#M228626</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-04-14T12:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733723#M228628</link>
      <description>&lt;P&gt;The deleted observations in a dataset can be found in DICTIONARY.TABLES.&lt;/P&gt;
&lt;P&gt;To find out if a variable is not present in a dataset, you have to compare it with another dataset. The data for both can be found in DICTIONARY.COLUMNS.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 13:03:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733723#M228628</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-04-14T13:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733853#M228673</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The deleted&lt;U&gt;&lt;STRONG&gt; number of&lt;/STRONG&gt;&lt;/U&gt; observations in a dataset can be found in DICTIONARY.TABLES.&lt;/P&gt;
&lt;P&gt;To find out if a variable is not present in a dataset, you have to compare it with another dataset. The data for both can be found in DICTIONARY.COLUMNS.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I believe my correction above is what was intended.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 17:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733853#M228673</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-14T17:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get deleted information</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733854#M228674</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I want deleted information in a library&lt;BR /&gt;Which obs and which var deleted for each dataset&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Will only be possible if you have a "before" and "after" data set or if using data set generations(essentially a before and after for the same named data set)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc Compare might be the tool but you will have to tell the procedure which data sets to compare. The data sets should be in the same sort order as well.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 17:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-deleted-information/m-p/733854#M228674</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-04-14T17:22:45Z</dc:date>
    </item>
  </channel>
</rss>

