<?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 and text values in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133911#M36338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Five ways to spell coffee is nothing, I had some survey data where IBM was spelled 18 ways. The most creative was I&amp;gt;B&amp;gt;M&amp;gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 20:30:41 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-11-07T20:30:41Z</dc:date>
    <item>
      <title>PROC Compare and text values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133907#M36334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am comparing two datasets where the following values exist on the same records in both:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^S={font_face=Symbol}£^S={}0.25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I visually inspected the values and even copied them to EXCEL (EXCEL says they are equal)...I also used the STRIP function to remove any leading or trailing blanks. Any ideas as to why SAS says they are not equal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 15:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133907#M36334</guid>
      <dc:creator>Doug</dc:creator>
      <dc:date>2013-11-07T15:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Compare and text values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133908#M36335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does one of the columns have a format applied to it, perhaps?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you get if you submit the following?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; a='^S={font_face=Symbol}£^S={}0.25';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; a='^S={font_face=Symbol}£^S={}0.25';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc compare base&amp;nbsp;&amp;nbsp; =have1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compare=have2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above shows no difference on SAS 9.1.3 on PC and Mainframe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 18:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133908#M36335</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-11-07T18:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Compare and text values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133909#M36336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These come out the same. I think it was due to the word "symbol" having a capital letter in one instance and not in the other.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 19:12:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133909#M36336</guid>
      <dc:creator>Doug</dc:creator>
      <dc:date>2013-11-07T19:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Compare and text values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133910#M36337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not care about case then you can use upcase() to convert the text to all be upper case when you strip out the spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I often use upcase(compress(variable)) when manually coding text matching, compress removes the spaces within the text too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Watch out for spelling mistakes when comparing text this way - I have seen 5 different ways of spelling coffee!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 19:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133910#M36337</guid>
      <dc:creator>MumSquared</dc:creator>
      <dc:date>2013-11-07T19:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Compare and text values</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133911#M36338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Five ways to spell coffee is nothing, I had some survey data where IBM was spelled 18 ways. The most creative was I&amp;gt;B&amp;gt;M&amp;gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 20:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-and-text-values/m-p/133911#M36338</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-07T20:30:41Z</dc:date>
    </item>
  </channel>
</rss>

