<?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: SAS EG 7.1 proc compare - variable not recognised in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538731#M33140</link>
    <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it is&amp;nbsp; clients code so I wont be able to share it.&lt;/P&gt;&lt;P&gt;The procedure works for all other variables and for another 2 datasets I'm comparing next to these two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll check with the client if I'll be able to share the code / results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marin&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 17:32:50 GMT</pubDate>
    <dc:creator>Mitreto</dc:creator>
    <dc:date>2019-02-26T17:32:50Z</dc:date>
    <item>
      <title>SAS EG 7.1 proc compare - variable not recognised</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538717#M33138</link>
      <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running proc compare on two data sets.&lt;/P&gt;&lt;P&gt;Code before that makes sure the variable names are the same. One of the variable is not recognised as having the same name.&lt;/P&gt;&lt;P&gt;I ended up naming it "X" just because you cannot really be wrong with one letter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The procedure still shows "X" to be in file1 but&amp;nbsp;not in file2 and &amp;nbsp;"X" to be in file2 but&amp;nbsp;not in file1. Interesting bit is that when I select the variable name in the editor it&amp;nbsp;highlights both names, so the editor confirms that the text is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to advise any plan of action?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marin&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 17:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538717#M33138</guid>
      <dc:creator>Mitreto</dc:creator>
      <dc:date>2019-02-26T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 proc compare - variable not recognised</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538720#M33139</link>
      <description>Can you show your code and log?</description>
      <pubDate>Tue, 26 Feb 2019 17:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538720#M33139</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-26T17:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 proc compare - variable not recognised</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538731#M33140</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately it is&amp;nbsp; clients code so I wont be able to share it.&lt;/P&gt;&lt;P&gt;The procedure works for all other variables and for another 2 datasets I'm comparing next to these two.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll check with the client if I'll be able to share the code / results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marin&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 17:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538731#M33140</guid>
      <dc:creator>Mitreto</dc:creator>
      <dc:date>2019-02-26T17:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 proc compare - variable not recognised</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538835#M33142</link>
      <description>&lt;P&gt;I'm just spitballing here, but I can only think that although your columns look like they have the same name, they are different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
	create table Vars as select Name from dictionary.columns where libname="SASHELP" and memname="CLASS";
quit;

data Translate;
set Vars;
HexRep = put(Name, $hex64.);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Do this for both input datasets, and see if there's any difference in the hexadecimal representation of the name. I'm wondering if you've maybe got an internationalization problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538835#M33142</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2019-02-26T22:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG 7.1 proc compare - variable not recognised</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538913#M33143</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much for the advice. The hex format revealed a character that funnily was picked up within the editor [appending itself at the end of the variable name].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have cleared all and now everything is fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marin&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 09:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-7-1-proc-compare-variable-not-recognised/m-p/538913#M33143</guid>
      <dc:creator>Mitreto</dc:creator>
      <dc:date>2019-02-27T09:46:29Z</dc:date>
    </item>
  </channel>
</rss>

