<?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: Long variable name in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272286#M58351</link>
    <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 22 May 2016 00:54:59 GMT</pubDate>
    <dc:creator>Defense</dc:creator>
    <dc:date>2016-05-22T00:54:59Z</dc:date>
    <item>
      <title>Long variable name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272216#M58346</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi,&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;As I import an excel table with very long column head into SAS via SAS import wizard, the variable names (column heads) are truncated in sas dataset. &amp;nbsp;How can I avoid the truncating?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Defense&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 03:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272216#M58346</guid>
      <dc:creator>Defense</dc:creator>
      <dc:date>2016-05-21T03:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Long variable name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272225#M58348</link>
      <description>&lt;P&gt;SAS variable names are limited to 32 characters. You need to adapt your Excel headers to this limit.&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2016 06:25:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272225#M58348</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-05-21T06:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Long variable name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272286#M58351</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 00:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272286#M58351</guid>
      <dc:creator>Defense</dc:creator>
      <dc:date>2016-05-22T00:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Long variable name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272307#M58352</link>
      <description>&lt;P&gt;Note that SAS has something called LABELS to provide nicer text for many uses that can be associated with a variable.&lt;/P&gt;
&lt;P&gt;Very brief example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; x=4;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; label x ="The number of candy bars";&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data=have label;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will the text of the label instead of the variable as a column heading. &lt;BR /&gt;By default most procedures will use the label (or at least part of it) in output. And Labels can be much longer than a variable name, 256 and can include characters like # ! @$%^&amp;amp;*() and so on.&lt;/P&gt;</description>
      <pubDate>Sun, 22 May 2016 05:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272307#M58352</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-05-22T05:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Long variable name</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272316#M58354</link>
      <description>By default, SAS will use column headers as SAS labels. But the maximum length is 64 chars due to a limitation in the Jet engine. Of course you could expand the label in a later step, but that would be considered a work around. &lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0msy4hy1so0ren1acm90iijxn8j.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/acpcref/67382/HTML/default/viewer.htm#n0msy4hy1so0ren1acm90iijxn8j.htm&lt;/A&gt;</description>
      <pubDate>Sun, 22 May 2016 12:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Long-variable-name/m-p/272316#M58354</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-22T12:47:08Z</dc:date>
    </item>
  </channel>
</rss>

