<?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 Proc compare output in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404665#M25999</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to compare two data sets for a time overlap period to see if they yield the same results. Where the data is not equal I'd like there to be an output column that indicates so with a flag i.e 0 = matching and 1 = no match.&amp;nbsp; I'd also like another column for the reason they are not matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I CANNOT share my data. I know this makes it hard, I'm hoping it does not make it impossible &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc compare base=data1 compare=data2out=comparison LISTOBS;&lt;BR /&gt;by x1 x2&amp;nbsp;x3;&lt;BR /&gt;ID &lt;SPAN&gt;x1&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x2&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x3&lt;/SPAN&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2017 03:47:10 GMT</pubDate>
    <dc:creator>Scott86</dc:creator>
    <dc:date>2017-10-17T03:47:10Z</dc:date>
    <item>
      <title>Proc compare output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404665#M25999</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to compare two data sets for a time overlap period to see if they yield the same results. Where the data is not equal I'd like there to be an output column that indicates so with a flag i.e 0 = matching and 1 = no match.&amp;nbsp; I'd also like another column for the reason they are not matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I CANNOT share my data. I know this makes it hard, I'm hoping it does not make it impossible &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc compare base=data1 compare=data2out=comparison LISTOBS;&lt;BR /&gt;by x1 x2&amp;nbsp;x3;&lt;BR /&gt;ID &lt;SPAN&gt;x1&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x2&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x3&lt;/SPAN&gt;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 03:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404665#M25999</guid>
      <dc:creator>Scott86</dc:creator>
      <dc:date>2017-10-17T03:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404670#M26000</link>
      <description>&lt;P&gt;I don’t think PROC COMPARE will work. You need a merge or join, so a manual comparison.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We never need your actual data, just data that’s representative.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 04:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404670#M26000</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-17T04:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare output</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404700#M26008</link>
      <description>&lt;P&gt;Who is asking you to share your data?&amp;nbsp;&amp;nbsp;&lt;U&gt;&lt;STRONG&gt;Post test data in the form of a datastep and use the {i} code window.&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp; Test data can be anything and only needs to be a couple of rows to demonstrate.&amp;nbsp; You will also need to show what you want out as "&lt;SPAN&gt;I'd also like another column for the reason they are not matching." doesn't give any indications.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-compare-output/m-p/404700#M26008</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-17T07:58:57Z</dc:date>
    </item>
  </channel>
</rss>

