<?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 Warning. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148528#M262271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am getting the below error message when i compare two dataset using proc compare. WARNING: The requested format could not be applied successfully because the Value Comparison Results report restricts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the variable's column width to 9 and this format requires a larger minimum width. please help me to solve this. CODE: data a; b=4244; format a b is8601da.; run; data b; b=3213; format a b is8601da.; run; proc compare base=a comp=b maxprint=(30,20); run; PLs find the attached output.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11589i4709F832027535E4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="output.PNG" title="output.PNG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 06:39:49 GMT</pubDate>
    <dc:creator>suraestar</dc:creator>
    <dc:date>2014-01-22T06:39:49Z</dc:date>
    <item>
      <title>PROC COMPARE Warning.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148528#M262271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am getting the below error message when i compare two dataset using proc compare. WARNING: The requested format could not be applied successfully because the Value Comparison Results report restricts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the variable's column width to 9 and this format requires a larger minimum width. please help me to solve this. CODE: data a; b=4244; format a b is8601da.; run; data b; b=3213; format a b is8601da.; run; proc compare base=a comp=b maxprint=(30,20); run; PLs find the attached output.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11589i4709F832027535E4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="output.PNG" title="output.PNG" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 06:39:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148528#M262271</guid>
      <dc:creator>suraestar</dc:creator>
      <dc:date>2014-01-22T06:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC COMPARE Warning.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148529#M262272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting.&amp;nbsp; Looks like the format you used is too wide to fit in the PROC COMPARE output.&amp;nbsp; I would have thought SAS would automatically change to use a best. format instead, but apparently it doesn't.&amp;nbsp; Probably the easiest thing to do would just be to "un-format" the variable in your PROC COMPARE step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc compare .... ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format a b;&amp;nbsp; * Clear problematic formats.&amp;nbsp; Can also use format _all_ ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;That should allow the step to run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:49:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148529#M262272</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-01-22T10:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC COMPARE Warning.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148530#M262273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, Thanks, but i would like to compare the data with formats applied. Is there anyother options (in PROC COMPARE) or method to compare the formatted datasets. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 05:05:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-COMPARE-Warning/m-p/148530#M262273</guid>
      <dc:creator>suraestar</dc:creator>
      <dc:date>2014-01-27T05:05:29Z</dc:date>
    </item>
  </channel>
</rss>

