<?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 customization for comparison based only on specific attributes of the variable not in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309195#M61230</link>
    <description>&lt;P&gt;Try limiting output with ODS select?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS select comparesummary;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 06:29:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-11-04T06:29:36Z</dc:date>
    <item>
      <title>Proc compare customization for comparison based only on specific attributes of the variable not all</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309186#M61229</link>
      <description>&lt;P&gt;I have two datasets (ABC1/ABC2), where i need to validate that they are exactly similar (values wise and structure wise) and need to generate a report,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc compare base=ABC1 compare=ABC2&lt;/P&gt;&lt;P&gt;briefsummary listall;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue here is that the dataset ABC2 doesnt contains the variable attribute values like (format, Informat and Label).&lt;/P&gt;&lt;P&gt;Hence the report that is being generated is including all the variables as mismatch because of the misiing attribute values of the variables in &amp;nbsp;ABC2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the output as&lt;BR /&gt;Comparison of two dataset based on their variable name, type and length only, the comparison should not include mismatches for their formats, informats or label.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I customise the output for this comparison?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 06:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309186#M61229</guid>
      <dc:creator>sAura</dc:creator>
      <dc:date>2016-11-04T06:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare customization for comparison based only on specific attributes of the variable not</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309195#M61230</link>
      <description>&lt;P&gt;Try limiting output with ODS select?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS select comparesummary;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 06:29:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309195#M61230</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-11-04T06:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare customization for comparison based only on specific attributes of the variable not</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309206#M61231</link>
      <description>&lt;P&gt;I need to omit only the data under the header "Listing of Common Variables with Differing Attributes".&lt;/P&gt;&lt;P&gt;Unable to get the desired result from&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---ODS select comparesummary;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="branch"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Nov 2016 08:38:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309206#M61231</guid>
      <dc:creator>sAura</dc:creator>
      <dc:date>2016-11-04T08:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare customization for comparison based only on specific attributes of the variable not</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309216#M61232</link>
      <description>&lt;P&gt;You can add to FORMAT statements, resetting all the format information like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc compare
  base=ABC2
  compare=ABC1
  novalues
  LISTVAR
;
  format _numeric_;
  format _character_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 10:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-customization-for-comparison-based-only-on-specific/m-p/309216#M61232</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2016-11-04T10:00:40Z</dc:date>
    </item>
  </channel>
</rss>

