<?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 length limit of proc export for variable label (SPSS and Excel) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/length-limit-of-proc-export-for-variable-label-SPSS-and-Excel/m-p/616173#M77025</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to export a data set from SAS to SPSS and Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything work fine except for the length of the variable label.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPSS is limit to&amp;nbsp;128gb in the export (it is not a SPSS limit) and for Excel this is 256 (not a Excel limit).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users.xlsx"&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users"&lt;BR /&gt;dbms=spss replace;&lt;BR /&gt;fmtlib=library.formats;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2020 12:55:35 GMT</pubDate>
    <dc:creator>philippe777</dc:creator>
    <dc:date>2020-01-09T12:55:35Z</dc:date>
    <item>
      <title>length limit of proc export for variable label (SPSS and Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/length-limit-of-proc-export-for-variable-label-SPSS-and-Excel/m-p/616173#M77025</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to export a data set from SAS to SPSS and Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything work fine except for the length of the variable label.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SPSS is limit to&amp;nbsp;128gb in the export (it is not a SPSS limit) and for Excel this is 256 (not a Excel limit).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users.xlsx"&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users"&lt;BR /&gt;dbms=spss replace;&lt;BR /&gt;fmtlib=library.formats;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 12:55:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/length-limit-of-proc-export-for-variable-label-SPSS-and-Excel/m-p/616173#M77025</guid>
      <dc:creator>philippe777</dc:creator>
      <dc:date>2020-01-09T12:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: length limit of proc export for variable label (SPSS and Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/length-limit-of-proc-export-for-variable-label-SPSS-and-Excel/m-p/616177#M77026</link>
      <description>&lt;P&gt;I can hardly imagine anyone displaying a label with 128 billion characters. Labels are something for human consumption.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And contrary to your post, there IS a 120 character length limit on SPSS labels:&amp;nbsp;&lt;A href="https://www.ibm.com/support/pages/120-character-limitation-using-spss-adding-value-labels-syntax" target="_blank" rel="noopener"&gt;https://www.ibm.com/support/pages/120-character-limitation-using-spss-adding-value-labels-syntax&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/114484"&gt;@philippe777&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to export a data set from SAS to SPSS and Excel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything work fine except for the length of the variable label.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SPSS is limit to&amp;nbsp;128gb in the export (it is not a SPSS limit) and for Excel this is 256 (not a Excel limit).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users.xlsx"&lt;BR /&gt;dbms=xlsx&lt;BR /&gt;replace;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc export data = PH2017c&lt;BR /&gt;outfile="C:\Users"&lt;BR /&gt;dbms=spss replace;&lt;BR /&gt;fmtlib=library.formats;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 13:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/length-limit-of-proc-export-for-variable-label-SPSS-and-Excel/m-p/616177#M77026</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-01-09T13:06:22Z</dc:date>
    </item>
  </channel>
</rss>

