<?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 Handling the variable with hyphen generated over transformation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909289#M358675</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could anyone help - how to handle a variable with hyphen generated over transformation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ABC-150 variable has been generated over the transformation by&amp;nbsp;&amp;nbsp;proc transpose in SAS studio.&amp;nbsp;I need to use this variable for further processing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the option validvarname=any in sas studio,&amp;nbsp;&amp;nbsp;unable to convert to sas compatible naming convention&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 14:49:40 GMT</pubDate>
    <dc:creator>kkk35</dc:creator>
    <dc:date>2023-12-21T14:49:40Z</dc:date>
    <item>
      <title>Handling the variable with hyphen generated over transformation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909289#M358675</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Could anyone help - how to handle a variable with hyphen generated over transformation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ABC-150 variable has been generated over the transformation by&amp;nbsp;&amp;nbsp;proc transpose in SAS studio.&amp;nbsp;I need to use this variable for further processing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the option validvarname=any in sas studio,&amp;nbsp;&amp;nbsp;unable to convert to sas compatible naming convention&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 14:49:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909289#M358675</guid>
      <dc:creator>kkk35</dc:creator>
      <dc:date>2023-12-21T14:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Handling the variable with hyphen generated over transformation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909292#M358676</link>
      <description>&lt;P&gt;With validvarname set to ANY, you refer to the variable as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;'ABC-150'n&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note that there must be quotes around the variable name, followed by the letter n. As you may find out, it is much easier to not work with variable names like this, they are more difficult to type (more letters, and more opportunity for typographical errors especially for me I often mistype the quotes), and in my opinion you would be wise to rename this variable to ABC_150, or even more simple (gasp!) ABC150.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 14:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909292#M358676</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-12-21T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Handling the variable with hyphen generated over transformation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909294#M358677</link>
      <description>Great! It works. Thank you!</description>
      <pubDate>Thu, 21 Dec 2023 14:56:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Handling-the-variable-with-hyphen-generated-over-transformation/m-p/909294#M358677</guid>
      <dc:creator>kkk35</dc:creator>
      <dc:date>2023-12-21T14:56:35Z</dc:date>
    </item>
  </channel>
</rss>

