<?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 reading column name wrongly in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648738#M36060</link>
    <description>Thanks Reeza. It is #4. It is under Option-&amp;gt;Data-&amp;gt; Data General-&amp;gt; Valid Variable Names. This needs to be changed to V7.&lt;BR /&gt;Appreciate your quick help.&lt;BR /&gt;&lt;BR /&gt;RDS</description>
    <pubDate>Tue, 19 May 2020 01:58:02 GMT</pubDate>
    <dc:creator>RDS2020</dc:creator>
    <dc:date>2020-05-19T01:58:02Z</dc:date>
    <item>
      <title>SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648714#M36056</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am reading data from a Oracle table into temp table in WORK library.&amp;nbsp; While creating temp table in SAS it is replacing one of the column name character to $. So the column name in table is&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual Name- abc__&amp;nbsp; &amp;nbsp;(it has 2 underscores)&lt;/P&gt;&lt;P&gt;SAS reading it as :- abc_$&lt;/P&gt;&lt;P&gt;And this is happening for all column names with double underscores but only on my SAS EG.&lt;/P&gt;&lt;P&gt;So 1 one of the underscore is getting replaced by "$" sign, now this code cant be changed because many others are using it and its working well on their SAS EG except min. Can anyone help with the solution why column is getting wrongly read by SAS.&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;RDS&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 01:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648714#M36056</guid>
      <dc:creator>RDS2020</dc:creator>
      <dc:date>2020-05-19T01:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648723#M36057</link>
      <description>&lt;P&gt;1. Are these variable names or labels being impacted?&lt;/P&gt;
&lt;P&gt;2. How are you retrieving your data from the DB?&lt;/P&gt;
&lt;P&gt;3. What is the length of the variable names in Oracle? Are they less than 32 characters in total?&lt;/P&gt;
&lt;P&gt;4. What is your validvarname option set to? ANY is the default in EG, you most likely want it to be V7 though.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 01:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648723#M36057</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-19T01:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648730#M36058</link>
      <description>&lt;P&gt;Thanks for responding. It cannot be issue with code or reading since it is working fine for everyone else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Are these variable names or labels being impacted?&lt;/P&gt;&lt;P&gt;Reply 1- No, I am simply creating table by Selecting all from the oracle Table&lt;/P&gt;&lt;P&gt;2. How are you retrieving your data from the DB?&lt;/P&gt;&lt;P&gt;Reply 2- Inside a Proc Creating a table by selecting * from the table name&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. What is the length of the variable names in Oracle? Are they less than 32 characters in total?&lt;/P&gt;&lt;P&gt;Reply 3- This code is working fine for all other colleagues so this cant be an issue. But still the characters in column name are between8-10&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. What is your validvarname option set to? ANY is the default in EG, you most likely want it to be V7 though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reply 4- I am not aware of this but this not set in Code for sure. You mean this has to be set in Code or in Option Tab. Cant set in the Code since change would be required for it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankss,&lt;/P&gt;&lt;P&gt;RDS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 01:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648730#M36058</guid>
      <dc:creator>RDS2020</dc:creator>
      <dc:date>2020-05-19T01:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648733#M36059</link>
      <description>I suspect the issue is #4 then. You have some option/setting in your installation that isn't the same as your colleagues. &lt;BR /&gt;I'd start with the VALIDVARNAME option and see what your colleagues have. &lt;BR /&gt;&lt;BR /&gt;This should post the info to the log or results window indicating what the option is set to. This option can be set in a few places so it may not be a 'code change' or could be in a different program you ran earlier or something like that. Is your SAS installation different than colleagues in some manner?&lt;BR /&gt;&lt;BR /&gt;proc options option=validvarname;&lt;BR /&gt;run;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 May 2020 01:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648733#M36059</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-19T01:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648738#M36060</link>
      <description>Thanks Reeza. It is #4. It is under Option-&amp;gt;Data-&amp;gt; Data General-&amp;gt; Valid Variable Names. This needs to be changed to V7.&lt;BR /&gt;Appreciate your quick help.&lt;BR /&gt;&lt;BR /&gt;RDS</description>
      <pubDate>Tue, 19 May 2020 01:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648738#M36060</guid>
      <dc:creator>RDS2020</dc:creator>
      <dc:date>2020-05-19T01:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS reading column name wrongly</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648748#M36061</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname = v7;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That's another way to change that setting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 03:48:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-reading-column-name-wrongly/m-p/648748#M36061</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-05-19T03:48:48Z</dc:date>
    </item>
  </channel>
</rss>

