<?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: column header truncated if it more than 32 char long when I use Proc export in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25190#M5686</link>
    <description>It appears that PROC EXPORT still uses the SAS v7 (then current) max label text length.  Oddly, the LABEL option was just added with SAS v9.2, I believe.  &lt;BR /&gt;
&lt;BR /&gt;
You may also notice in the SAS DOC for EXPORT that any SAS variable that is longer than 32 characters is also truncated (without the LABEL parameter of course).  Likely doesn't sound like it will be considered a DEFECT, given this condition.&lt;BR /&gt;
&lt;BR /&gt;
Regardless, it's important to contact SAS support to give them the feedback on these types of limitations rather than presuming they already know.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Thu, 03 Dec 2009 19:50:20 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-12-03T19:50:20Z</dc:date>
    <item>
      <title>column header truncated if it more than 32 char long when I use Proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25188#M5684</link>
      <description>Hi &lt;BR /&gt;
When I run below coding , the column header is truncated to 'this is testing more than thirty' but  my acutal column header is 'this is testing more than thirty two charaters'.  Can any one help to fix this problem.&lt;BR /&gt;
&lt;BR /&gt;
Thanks so much for your help in advance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data temp;&lt;BR /&gt;
input x $50.;&lt;BR /&gt;
label x = 'this is testing more than thirty two charaters';&lt;BR /&gt;
cards;&lt;BR /&gt;
aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee&lt;BR /&gt;
;&lt;BR /&gt;
proc print data=temp label;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT DATA=temp&lt;BR /&gt;
OUTFILE='C:\PROJECTS\TPA_Current\OCT2009\testing.csv'&lt;BR /&gt;
DBMS=csv&lt;BR /&gt;
REPLACE LABEL;&lt;BR /&gt;
RUN;</description>
      <pubDate>Thu, 03 Dec 2009 18:43:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25188#M5684</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2009-12-03T18:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: column header truncated if it more than 32 char long when I use Proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25189#M5685</link>
      <description>I got the same result.&lt;BR /&gt;
Can't find any limitation mentioned in the documentation, so you could open a track to SAS support for clarification.&lt;BR /&gt;
To fix this, you probably have to do some data step programming instead.&lt;BR /&gt;
/Linus</description>
      <pubDate>Thu, 03 Dec 2009 19:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25189#M5685</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-12-03T19:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: column header truncated if it more than 32 char long when I use Proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25190#M5686</link>
      <description>It appears that PROC EXPORT still uses the SAS v7 (then current) max label text length.  Oddly, the LABEL option was just added with SAS v9.2, I believe.  &lt;BR /&gt;
&lt;BR /&gt;
You may also notice in the SAS DOC for EXPORT that any SAS variable that is longer than 32 characters is also truncated (without the LABEL parameter of course).  Likely doesn't sound like it will be considered a DEFECT, given this condition.&lt;BR /&gt;
&lt;BR /&gt;
Regardless, it's important to contact SAS support to give them the feedback on these types of limitations rather than presuming they already know.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 03 Dec 2009 19:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25190#M5686</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-12-03T19:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: column header truncated if it more than 32 char long when I use Proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25191#M5687</link>
      <description>Hi:&lt;BR /&gt;
  One possible workaround is to use ODS CSV, as shown below.&lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data temp;&lt;BR /&gt;
length x y $50;&lt;BR /&gt;
input x $;&lt;BR /&gt;
y='twas brillig and the slithy toves';&lt;BR /&gt;
label x = 'this is testing more than thirty two characters'&lt;BR /&gt;
      y= 'Not as long for the label';&lt;BR /&gt;
cards;&lt;BR /&gt;
aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeee&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
                                                               &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods csv file='c:\temp\longlabel.csv';&lt;BR /&gt;
                                                              &lt;BR /&gt;
proc print data=temp label;&lt;BR /&gt;
run;&lt;BR /&gt;
ods csv close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 03 Dec 2009 23:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/column-header-truncated-if-it-more-than-32-char-long-when-I-use/m-p/25191#M5687</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-12-03T23:22:10Z</dc:date>
    </item>
  </channel>
</rss>

