<?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: Removing information from a dataset that is contained elsewhere in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276623#M7808</link>
    <description>&lt;P&gt;If all the variables are the same&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
   create table want as
   select * from A
   except
   select * from B
   ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12460"&gt;@jklaverstijn&lt;/a&gt; may have meant NOT instead of NOG&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 21:48:52 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-06-10T21:48:52Z</dc:date>
    <item>
      <title>Removing information from a dataset that is contained elsewhere</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276602#M7806</link>
      <description>&lt;P&gt;I have two data sets, A and B. &amp;nbsp;A is larger and contains all the same information as B plus extra (B was created from A using proc sql - selecting distinct observations). I would like to remove everything that is contained in data set B from data set A to have two distinct sets with no duplicate variables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I go about this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276602#M7806</guid>
      <dc:creator>mphqueens</dc:creator>
      <dc:date>2016-06-10T19:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Removing information from a dataset that is contained elsewhere</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276603#M7807</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
Create table c as
Select * from a where nog exists (select * from b);
Quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:58:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276603#M7807</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-06-10T19:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Removing information from a dataset that is contained elsewhere</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276623#M7808</link>
      <description>&lt;P&gt;If all the variables are the same&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
   create table want as
   select * from A
   except
   select * from B
   ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I think &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12460"&gt;@jklaverstijn&lt;/a&gt; may have meant NOT instead of NOG&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Removing-information-from-a-dataset-that-is-contained-elsewhere/m-p/276623#M7808</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-06-10T21:48:52Z</dc:date>
    </item>
  </channel>
</rss>

