<?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 How resolve variable issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521081#M141350</link>
    <description>I have to import one excel sheet in that sheet one column name is "monthly wise and year wise number'&lt;BR /&gt;When I am importing this sheet it is showing error like length is more than 32 characters .&lt;BR /&gt;So how to resolve that error</description>
    <pubDate>Thu, 13 Dec 2018 08:59:22 GMT</pubDate>
    <dc:creator>thanikondharish</dc:creator>
    <dc:date>2018-12-13T08:59:22Z</dc:date>
    <item>
      <title>How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521081#M141350</link>
      <description>I have to import one excel sheet in that sheet one column name is "monthly wise and year wise number'&lt;BR /&gt;When I am importing this sheet it is showing error like length is more than 32 characters .&lt;BR /&gt;So how to resolve that error</description>
      <pubDate>Thu, 13 Dec 2018 08:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521081#M141350</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-12-13T08:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521084#M141352</link>
      <description>&lt;P&gt;Use named literals:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000998953.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I.e.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname excel "....xlsx";

data want;
  set "monthly wise and year wise number"n;
run;&lt;/PRE&gt;
&lt;P&gt;An make sure once you imported it to change its name to use SAS naming so you dont have to code that each time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or drop Excel as a datasource, which generally sorts a lot of issues.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 09:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521084#M141352</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-12-13T09:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521086#M141353</link>
      <description>I am asking variable name</description>
      <pubDate>Thu, 13 Dec 2018 09:15:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521086#M141353</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-12-13T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521087#M141354</link>
      <description>&lt;P&gt;If I were you, I would change the variable name directly in the Excel workbook. Get rid of spaces and keep it shorter and simpler &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 09:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521087#M141354</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-12-13T09:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521088#M141355</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;When I am importing this sheet it is showing error like length is more than 32 characters .&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Use a shorter name in Excel, or use a sustainable data transfer process that does NOT rely on the Excel file format. Column names in SAS are hard limited to 32 characters, there's no way around it.&lt;/P&gt;
&lt;P&gt;SAS 9.6 or 10 (or whatever the next major version will be called) might provide the capability for longer names, but at the moment the (in my opinion VERY reasonable) limit of 32 is in place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a reliable import process, use a proper file format like CSV or any character-delimited or fixed-width text file. In the data step, YOU define the names, and you do not have to work around the crazy ideas of lusers.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 09:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521088#M141355</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-13T09:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521091#M141358</link>
      <description>&lt;P&gt;This post makes no sense.&amp;nbsp; I have provided a link to the mechanism that SAS uses to access names which are not SAS compliant.&amp;nbsp; If you have further questions, please elaborate in full with examples so I don't need to guess what you mean.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 09:27:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521091#M141358</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-12-13T09:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521095#M141362</link>
      <description>Sorry I got the data that is SAS teachnical issue&lt;BR /&gt;So I closed the SAS and again opened and run the program</description>
      <pubDate>Thu, 13 Dec 2018 09:41:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521095#M141362</guid>
      <dc:creator>thanikondharish</dc:creator>
      <dc:date>2018-12-13T09:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How resolve variable issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521180#M141393</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209685"&gt;@thanikondharish&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Sorry I got the data that is SAS teachnical issue&lt;BR /&gt;So I closed the SAS and again opened and run the program&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please mark this question as closed.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 16:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-resolve-variable-issue/m-p/521180#M141393</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-12-13T16:19:35Z</dc:date>
    </item>
  </channel>
</rss>

