<?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 Variable name truncation in GLMSELECT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682796#M206715</link>
    <description>&lt;P&gt;Is there a way to prevent my variables names from being truncated to 20 characters in the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.bweight;
 rename momwtgain = dont_truncate_this_var;
run;


proc glmselect data = have;
 model weight = momage cigsperday dont_truncate_this_var;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My actual GLMSELECT statement uses stepwise selection and a CLASS statement, so I'd prefer to stick with GLMSELECT if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2020 23:12:21 GMT</pubDate>
    <dc:creator>bkq32</dc:creator>
    <dc:date>2020-09-09T23:12:21Z</dc:date>
    <item>
      <title>Variable name truncation in GLMSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682796#M206715</link>
      <description>&lt;P&gt;Is there a way to prevent my variables names from being truncated to 20 characters in the output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.bweight;
 rename momwtgain = dont_truncate_this_var;
run;


proc glmselect data = have;
 model weight = momage cigsperday dont_truncate_this_var;
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My actual GLMSELECT statement uses stepwise selection and a CLASS statement, so I'd prefer to stick with GLMSELECT if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 23:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682796#M206715</guid>
      <dc:creator>bkq32</dc:creator>
      <dc:date>2020-09-09T23:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Variable name truncation in GLMSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682813#M206727</link>
      <description>&lt;P&gt;What output? Are you saying that the print-out generated by PROC GLMSELECT is showing only the first 20 characters of that variable name? What part of the print-out?&lt;/P&gt;
&lt;P&gt;Or are you generating an output dataset from that PROC?&amp;nbsp; I don't see where you are specifying any output datasets in your code.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 04:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682813#M206727</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-10T04:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Variable name truncation in GLMSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682815#M206729</link>
      <description>Sorry, yes the first option. I'm referring to the print-out from PROC GLMSELECT. In the SelectionSummary and ParameterEstimates results, the variable "dont_truncate_this_var" has been shortened to "dont_truncate_this_v". The log says:&lt;BR /&gt;&lt;BR /&gt;NOTE: Effect labels on plots have been truncated at 20 characters.</description>
      <pubDate>Thu, 10 Sep 2020 04:35:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682815#M206729</guid>
      <dc:creator>bkq32</dc:creator>
      <dc:date>2020-09-10T04:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variable name truncation in GLMSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682908#M206754</link>
      <description>Try option NAMELEN= &lt;BR /&gt;proc glmselect data = sashelp.class namelen=32;&lt;BR /&gt; model weight = age height;&lt;BR /&gt;run; quit;</description>
      <pubDate>Thu, 10 Sep 2020 11:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/682908#M206754</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-09-10T11:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variable name truncation in GLMSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/683024#M206813</link>
      <description>This worked great, thank you!</description>
      <pubDate>Thu, 10 Sep 2020 18:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Variable-name-truncation-in-GLMSELECT/m-p/683024#M206813</guid>
      <dc:creator>bkq32</dc:creator>
      <dc:date>2020-09-10T18:39:18Z</dc:date>
    </item>
  </channel>
</rss>

