<?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 ignore case specificity in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319390#M61894</link>
    <description>&lt;P&gt;I agree that this could be useful for analysts who processes English strings (in general, use the Roman alphabet). I seem to recall this request on the SAS Software ballot in the early 2000s. However, that was about the same time that SAS was going global. Many SAS customers process &amp;nbsp;text in Japanese, Chinese, Korean, and other languages for which "uppercase" does not make sense. &amp;nbsp;I'm not making excuses, and I don't have any knowldege about why there isn't a case-insensitive option, but I mention non-Latin languages as a possible reason why this feature was never added.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2016 21:07:11 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-12-15T21:07:11Z</dc:date>
    <item>
      <title>Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319060#M61868</link>
      <description>&lt;P&gt;Is there any method,option or statement to ignore case sensitivity for variables.&lt;/P&gt;
&lt;P&gt;example:&lt;/P&gt;
&lt;P&gt;datasetA:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;name&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;datasetB:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;name&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if I compare using Proc Compare ,datasetA and datasetB, results showing as diferences in two datasets.&lt;/P&gt;
&lt;P&gt;How to make proc compare case insensitive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 21:44:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319060#M61868</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-12-14T21:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319074#M61869</link>
      <description>I do not think we have any such option in proc compare which ignores the case. We have to update the data in the dataset and perform the proc compare.</description>
      <pubDate>Wed, 14 Dec 2016 23:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319074#M61869</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2016-12-14T23:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319256#M61870</link>
      <description>&lt;P&gt;PROC COMPARE compares raw values. If you want a case-insensitive comparison, you can use the UPCASE function or the $UPCASE format to transform character data. You can either do this directly in the DATA step, or you can create data VIEWS that contain the upcase version of character data. For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* create second data set with lowercase names */
data class2;
set sashelp.class;
Name = lowcase(Name);
run;

/* create data views with upcase names */
data BaseData / view=BaseData;
set sashelp.class;
NewName = upcase(Name);
run;
data CompareData / view=CompareData;
set class2;
NewName = upcase(Name);
run;

/* compare the upcase values */
proc compare base=BaseData compare=CompareData;
var NewName;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 14:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319256#M61870</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-12-15T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319384#M61893</link>
      <description>Thank you for your reply..I did same thing as I have issue with only two variable. there are 100 character variable in these datasets. it will be lot of code to change to upper case for all of them. It would have been easy if SAS has some kind of options to ignore case in Proc Compare.</description>
      <pubDate>Thu, 15 Dec 2016 20:49:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319384#M61893</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-12-15T20:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319390#M61894</link>
      <description>&lt;P&gt;I agree that this could be useful for analysts who processes English strings (in general, use the Roman alphabet). I seem to recall this request on the SAS Software ballot in the early 2000s. However, that was about the same time that SAS was going global. Many SAS customers process &amp;nbsp;text in Japanese, Chinese, Korean, and other languages for which "uppercase" does not make sense. &amp;nbsp;I'm not making excuses, and I don't have any knowldege about why there isn't a case-insensitive option, but I mention non-Latin languages as a possible reason why this feature was never added.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 21:07:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319390#M61894</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-12-15T21:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc compare ignore case specificity</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319602#M61901</link>
      <description>Thanks for the explanation.</description>
      <pubDate>Fri, 16 Dec 2016 17:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-compare-ignore-case-specificity/m-p/319602#M61901</guid>
      <dc:creator>nbonda</dc:creator>
      <dc:date>2016-12-16T17:37:25Z</dc:date>
    </item>
  </channel>
</rss>

