<?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: compare two dataset to get missing rows in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/compare-two-dataset-to-get-missing-rows/m-p/537025#M74000</link>
    <description>&lt;P&gt;Something like (not tested as nothing to test on):&lt;/P&gt;
&lt;PRE&gt;data want;
  set have 1 (in=a) have2 (in=b);
  /* Note I do not know what variables are in each so I cannot put anything in the next row */
  by ...;
  if a and not b;
run;&lt;/PRE&gt;
&lt;P&gt;You could also use except in SQL, proc compare with dataset output.&amp;nbsp; Again, without test data in the form of a datastep I can't be anymore specific.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2019 10:16:54 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2019-02-20T10:16:54Z</dc:date>
    <item>
      <title>compare two dataset to get missing rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/compare-two-dataset-to-get-missing-rows/m-p/537024#M73999</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have2 datasets with the same strcuture.&lt;/P&gt;&lt;P&gt;the first holds 945057 rows and the second holds 944820 rows.&lt;/P&gt;&lt;P&gt;I would like to get in an output dataset only rows that are missing in the second dataset.&lt;/P&gt;&lt;P&gt;thanks in avdance for your help&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nasser&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 10:09:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/compare-two-dataset-to-get-missing-rows/m-p/537024#M73999</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2019-02-20T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: compare two dataset to get missing rows</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/compare-two-dataset-to-get-missing-rows/m-p/537025#M74000</link>
      <description>&lt;P&gt;Something like (not tested as nothing to test on):&lt;/P&gt;
&lt;PRE&gt;data want;
  set have 1 (in=a) have2 (in=b);
  /* Note I do not know what variables are in each so I cannot put anything in the next row */
  by ...;
  if a and not b;
run;&lt;/PRE&gt;
&lt;P&gt;You could also use except in SQL, proc compare with dataset output.&amp;nbsp; Again, without test data in the form of a datastep I can't be anymore specific.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 10:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/compare-two-dataset-to-get-missing-rows/m-p/537025#M74000</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-20T10:16:54Z</dc:date>
    </item>
  </channel>
</rss>

