<?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: variable name with non-english letters? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23663#M5260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point Ksharp.&amp;nbsp; If all you wanted to do was rename the variable, DATASETS would definately be a better way.&amp;nbsp; As you also show, the main point is the syntax for naming a variable with non-standard characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been busy writing my next book (on advanced techniques) which will be out in the spring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2012 03:13:31 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2012-01-05T03:13:31Z</dc:date>
    <item>
      <title>variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23659#M5256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeg got a dataset with a variable containing the letter "ø" (a Danish letter) and probably due to this, an error appears every time I try to open/use the data including when I try to rename the variable name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I been looking around and found something called "validvarname=any" but I'm not sure of how to use this option and whether this it the correct option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 10:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23659#M5256</guid>
      <dc:creator>Dan_yu_W</dc:creator>
      <dc:date>2012-01-04T10:26:07Z</dc:date>
    </item>
    <item>
      <title>variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23660#M5257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would definitely try that first.&amp;nbsp; You can find its documentation at: &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279245.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000279245.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use it, just specify the following before you run your code:&lt;/P&gt;&lt;P&gt;options validvarname=any;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23660#M5257</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-01-04T13:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23661#M5258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to followup on Art's reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the character is in the data it should not be a problem - if it is in the data and it is giving you a problem then the following will not help - it is something else again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a silly example with ++ representing a Danish character which is not on my keyboard.&amp;nbsp; My suggestion is to rename as soon as possible.&amp;nbsp; Notice that the variable name with the special characters is quoted and followed immediately with a n.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;option validvarname=any;&lt;BR /&gt;data withdanish;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 'ab++c'n = 5;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run; &lt;/P&gt;&lt;P&gt;data coffeeonly;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; set withdanish(rename=('ab++c'n=abc));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 23:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23661#M5258</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-01-04T23:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23662#M5259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Arthur Carpenter .&lt;/P&gt;&lt;P&gt;Using proc datasets - a little tool managing datasets will save lots of time ,especiallly for a large table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc datasets library=work nolist;&lt;/P&gt;&lt;P&gt; modify withdanish;&lt;/P&gt;&lt;P&gt; rename 'ab++c'n=abc;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy New Year To you.&lt;/P&gt;&lt;P&gt;Happy to see you again at this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 02:57:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23662#M5259</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-01-05T02:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23663#M5260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good point Ksharp.&amp;nbsp; If all you wanted to do was rename the variable, DATASETS would definately be a better way.&amp;nbsp; As you also show, the main point is the syntax for naming a variable with non-standard characters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been busy writing my next book (on advanced techniques) which will be out in the spring.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 03:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23663#M5260</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-01-05T03:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23664#M5261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Arthur Carpenter.&lt;/P&gt;&lt;P&gt;What is the name of your new book?&lt;/P&gt;&lt;P&gt;I will take a look at it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 06:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23664#M5261</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-01-05T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: variable name with non-english letters?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23665#M5262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The option validvarname=any solved the problem, but next time when I have access to SAS again I'll try the renaming method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 07:29:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/variable-name-with-non-english-letters/m-p/23665#M5262</guid>
      <dc:creator>Dan_yu_W</dc:creator>
      <dc:date>2012-01-05T07:29:13Z</dc:date>
    </item>
  </channel>
</rss>

