<?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 building the 'difference between 2 datasets' in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591227#M15157</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to compare 2 datasets, and obtain a 3rd dataset where all observations different between both of them are listed.&lt;/P&gt;&lt;P&gt;- ORB_TAB_NPKENN&amp;nbsp;: first dataset; it contains the second one entirely&lt;/P&gt;&lt;P&gt;- ORB_TAB_2: second dataset.&lt;/P&gt;&lt;P&gt;- DIFF_NPKENN: dataset that has to be produced, containing all the lines that are present in &amp;nbsp;ORB_TAB_NPKENN&amp;nbsp;and absent in ORB_TAB_2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the following first, but I get a very weird result (it seems all variables are resetted or so). Only the names of the variables are correct.&lt;/P&gt;&lt;P&gt;I have no clue how I could perform the desired control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* TEST - comparaison ORB_TAB_NPKENN et ORB_TAB_2 */&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;compare&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;base&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=orb_tab_npkenn &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=diff_npkenn&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;compare&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=orb_tab_2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diff_NPKENN.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32705i52114F44D3510D8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Diff_NPKENN.PNG" alt="Diff_NPKENN.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How should I proceed?&lt;/P&gt;&lt;P&gt;Thx in advance,&lt;/P&gt;&lt;P&gt;PY&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2019 16:57:23 GMT</pubDate>
    <dc:creator>PierreYvesILY</dc:creator>
    <dc:date>2019-09-24T16:57:23Z</dc:date>
    <item>
      <title>building the 'difference between 2 datasets'</title>
      <link>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591227#M15157</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to compare 2 datasets, and obtain a 3rd dataset where all observations different between both of them are listed.&lt;/P&gt;&lt;P&gt;- ORB_TAB_NPKENN&amp;nbsp;: first dataset; it contains the second one entirely&lt;/P&gt;&lt;P&gt;- ORB_TAB_2: second dataset.&lt;/P&gt;&lt;P&gt;- DIFF_NPKENN: dataset that has to be produced, containing all the lines that are present in &amp;nbsp;ORB_TAB_NPKENN&amp;nbsp;and absent in ORB_TAB_2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the following first, but I get a very weird result (it seems all variables are resetted or so). Only the names of the variables are correct.&lt;/P&gt;&lt;P&gt;I have no clue how I could perform the desired control.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* TEST - comparaison ORB_TAB_NPKENN et ORB_TAB_2 */&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;compare&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;base&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=orb_tab_npkenn &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=diff_npkenn&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;compare&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=orb_tab_2;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diff_NPKENN.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32705i52114F44D3510D8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Diff_NPKENN.PNG" alt="Diff_NPKENN.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How should I proceed?&lt;/P&gt;&lt;P&gt;Thx in advance,&lt;/P&gt;&lt;P&gt;PY&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 16:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591227#M15157</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2019-09-24T16:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: building the 'difference between 2 datasets'</title>
      <link>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591232#M15158</link>
      <description>&lt;P&gt;try eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data check;&lt;/P&gt;&lt;P&gt;merge ORB_TAB_NPKENN&amp;nbsp;(in=a) ORB_TAB_2 (in=b);&lt;/P&gt;&lt;P&gt;by ....;&lt;/P&gt;&lt;P&gt;if a and not b then output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 17:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591232#M15158</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2019-09-24T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: building the 'difference between 2 datasets'</title>
      <link>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591479#M15224</link>
      <description>thanks a lot!</description>
      <pubDate>Wed, 25 Sep 2019 12:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/building-the-difference-between-2-datasets/m-p/591479#M15224</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2019-09-25T12:27:56Z</dc:date>
    </item>
  </channel>
</rss>

