<?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 variable name length in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/438039#M109178</link>
    <description>&lt;P&gt;Labels for variables may contain more text to describe variables though, 256 characters currently and can contain spaces and some special characters.&lt;/P&gt;
&lt;P&gt;See this code for a brief example:&lt;/P&gt;
&lt;P&gt;data example;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; x=123;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; label x='This is a demonstration label for a generic variable named X';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=example label;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;some procedures will default to showing all or part of a label when used, others like print want an explicit instruction to use the labels.&lt;/P&gt;
&lt;P&gt;Labels may be permanent, as assigned in the step that creates them or temporary for a specific procedure call:&lt;/P&gt;
&lt;P&gt;proc print data=example label;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; label x='Shorter label for x';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2018 18:26:40 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-02-16T18:26:40Z</dc:date>
    <item>
      <title>sas variable name length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/437832#M109106</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;sas variable name length is 32 character,however sas says that character variables can be up to 32,767 bytes long.it is confusing for me .character length is 32 or 32,767? I appreciate if anyone enlighten me.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 23:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/437832#M109106</guid>
      <dc:creator>fatemeh</dc:creator>
      <dc:date>2018-02-15T23:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: sas variable name length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/437845#M109112</link>
      <description>&lt;P&gt;The name of the variable can be up to 32 bytes long. The value that is stored in the variable can be up to 32,767 bytes long.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is like the difference in the number of letters in the title of a book and the number of letters on the pages of the book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 00:13:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/437845#M109112</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-02-16T00:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: sas variable name length</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/438039#M109178</link>
      <description>&lt;P&gt;Labels for variables may contain more text to describe variables though, 256 characters currently and can contain spaces and some special characters.&lt;/P&gt;
&lt;P&gt;See this code for a brief example:&lt;/P&gt;
&lt;P&gt;data example;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; x=123;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; label x='This is a demonstration label for a generic variable named X';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=example label;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;some procedures will default to showing all or part of a label when used, others like print want an explicit instruction to use the labels.&lt;/P&gt;
&lt;P&gt;Labels may be permanent, as assigned in the step that creates them or temporary for a specific procedure call:&lt;/P&gt;
&lt;P&gt;proc print data=example label;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; var x;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; label x='Shorter label for x';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 18:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-variable-name-length/m-p/438039#M109178</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-16T18:26:40Z</dc:date>
    </item>
  </channel>
</rss>

