<?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: Proc compare showing matching values even after using OUTNOEQUAL Option in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413337#M67460</link>
    <description>&lt;P&gt;if you simply want to test if two data sets are exactly the same, then use PROC COMPARE and the generated &amp;amp;sysinfo. macro variable. The value of &amp;amp;sysinfo. will be zero for matching data sets.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2017 14:28:13 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2017-11-14T14:28:13Z</dc:date>
    <item>
      <title>Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413334#M67459</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to test two datasets to make sure both are same. I am using OUTNOEQUAL option to &lt;U&gt;not report&lt;/U&gt; the matching values in the output. But somehow its still showing up. Any leads?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is the outuput i am getting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 14:24:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413334#M67459</guid>
      <dc:creator>Sunboyss30</dc:creator>
      <dc:date>2017-11-14T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413337#M67460</link>
      <description>&lt;P&gt;if you simply want to test if two data sets are exactly the same, then use PROC COMPARE and the generated &amp;amp;sysinfo. macro variable. The value of &amp;amp;sysinfo. will be zero for matching data sets.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 14:28:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413337#M67460</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-11-14T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413339#M67461</link>
      <description>&lt;P&gt;This is because of the way numbers are stored on the machine.&amp;nbsp; What you are seeing is one or the other (or possibly both) have a tiny fraction, for example:&lt;BR /&gt;123.0000000000000001&lt;/P&gt;
&lt;P&gt;versus&lt;/P&gt;
&lt;P&gt;123.00&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't necessarily see this directly in the dataset and is usually the result of mathematical operations where the result is not rounded/processed properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try fuzz=&lt;/P&gt;
&lt;P&gt;as given in this post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Proc-compare-numeric-decimal-rounding-up-in-the-Base-data-set/td-p/49415" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Proc-compare-numeric-decimal-rounding-up-in-the-Base-data-set/td-p/49415&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if your interested in it the full explanation:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0ji1unv6thm0dn1gp4t01a1u0g6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0ji1unv6thm0dn1gp4t01a1u0g6.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 14:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413339#M67461</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-14T14:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413579#M67470</link>
      <description>&lt;P&gt;Thanks a lot RW9. it worked perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks again !&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:39:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413579#M67470</guid>
      <dc:creator>Sunboyss30</dc:creator>
      <dc:date>2017-11-15T07:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413580#M67471</link>
      <description>&lt;P&gt;Thanks for your inputs.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:40:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413580#M67471</guid>
      <dc:creator>Sunboyss30</dc:creator>
      <dc:date>2017-11-15T07:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413983#M67478</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also to check for Date values. I have two variables defined as Date9. and Datetime20. which obviously give difference. But is there any way to match these. Do i need to convert the format of any of the variable to match it. Or any option in Proc compare is there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413983#M67478</guid>
      <dc:creator>Sunboyss30</dc:creator>
      <dc:date>2017-11-16T13:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare showing matching values even after using OUTNOEQUAL Option</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413996#M67482</link>
      <description>&lt;P&gt;Its a good idea to start a new thread for new questions&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p1l5iwaf47ma83n1euxxp10g8xh5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p1l5iwaf47ma83n1euxxp10g8xh5.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I don think there is an option for that.&amp;nbsp; Dates and datetimes are actually numbers, number of days or seconds since a certain point in time, hence they are very different.&amp;nbsp; You can only compare like for like.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-showing-matching-values-even-after-using-OUTNOEQUAL/m-p/413996#M67482</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-16T13:38:13Z</dc:date>
    </item>
  </channel>
</rss>

