<?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 how to reference a numeric variable when name is mix of letters and numbers in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569509#M160502</link>
    <description>&lt;P&gt;Hi Tom,&lt;BR /&gt;&lt;BR /&gt;I have checked that there is a TEST10 variable in the 'test' dataset (the &lt;FONT color="#FF0000"&gt;Name is TEST10&lt;/FONT&gt; and there is &lt;FONT color="#FF0000"&gt;no label&lt;/FONT&gt; to the variable) but there is an error when I run the code - 'ERROR: Variable TEST10 not found' so is there a way to correctly reference the numeric variable, despite the name being a mixture of characters and numbers?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 16:14:53 GMT</pubDate>
    <dc:creator>jeremy4</dc:creator>
    <dc:date>2019-06-27T16:14:53Z</dc:date>
    <item>
      <title>SAS how to reference a numeric variable when name is mix of letters and numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569503#M160498</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help me to&amp;nbsp;reference a numeric variable when the variable name is mix of letters and numbers? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable name: TEST10&lt;/P&gt;&lt;P&gt;Type: Numeric&lt;/P&gt;&lt;P&gt;Group: Numeric&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Current code:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;proc print data=test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;var TEST10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;sum TEST10;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:52:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569503#M160498</guid>
      <dc:creator>jeremy4</dc:creator>
      <dc:date>2019-06-27T15:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS how to reference a numeric variable when name is mix of letters and numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569504#M160499</link>
      <description>&lt;P&gt;What is the question?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569504#M160499</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-27T15:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS how to reference a numeric variable when name is mix of letters and numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569509#M160502</link>
      <description>&lt;P&gt;Hi Tom,&lt;BR /&gt;&lt;BR /&gt;I have checked that there is a TEST10 variable in the 'test' dataset (the &lt;FONT color="#FF0000"&gt;Name is TEST10&lt;/FONT&gt; and there is &lt;FONT color="#FF0000"&gt;no label&lt;/FONT&gt; to the variable) but there is an error when I run the code - 'ERROR: Variable TEST10 not found' so is there a way to correctly reference the numeric variable, despite the name being a mixture of characters and numbers?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 16:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569509#M160502</guid>
      <dc:creator>jeremy4</dc:creator>
      <dc:date>2019-06-27T16:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS how to reference a numeric variable when name is mix of letters and numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569516#M160505</link>
      <description>Your reference is correct, you're likely having a different error or the variable label is test10, not the variable name. &lt;BR /&gt;&lt;BR /&gt;Run a proc contents on the data set and check the variable name and label. If you're still having trouble, show us your code, log and the results from proc contents.</description>
      <pubDate>Thu, 27 Jun 2019 16:10:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-how-to-reference-a-numeric-variable-when-name-is-mix-of/m-p/569516#M160505</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-27T16:10:21Z</dc:date>
    </item>
  </channel>
</rss>

