<?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 EXCEL LIBNAME option and DBMAX_TEXT not working as expected in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441181#M110320</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to read in an Excel workbook using the LIBNAME statement with the EXCEL option. This normally works just fine but one of the columns in my workbook contain data &amp;gt;1024 in length. So I used the DBMAX_TEXT option to increase the available size of the data imported and when I run a PROC CONTENTS the variable (Body) shows up as a Character of length 5494.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I try to&amp;nbsp;use this dataset (proc print or via a data step) I get the warning in the log:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: During read: Data truncated for column Body&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone else managed to successfully use this option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running SAS v9.4 TS4 on a Grid using EG (and Studio) to run programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;</description>
    <pubDate>Thu, 01 Mar 2018 13:25:02 GMT</pubDate>
    <dc:creator>LawrenceHW</dc:creator>
    <dc:date>2018-03-01T13:25:02Z</dc:date>
    <item>
      <title>EXCEL LIBNAME option and DBMAX_TEXT not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441181#M110320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to read in an Excel workbook using the LIBNAME statement with the EXCEL option. This normally works just fine but one of the columns in my workbook contain data &amp;gt;1024 in length. So I used the DBMAX_TEXT option to increase the available size of the data imported and when I run a PROC CONTENTS the variable (Body) shows up as a Character of length 5494.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However when I try to&amp;nbsp;use this dataset (proc print or via a data step) I get the warning in the log:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: During read: Data truncated for column Body&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone else managed to successfully use this option?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running SAS v9.4 TS4 on a Grid using EG (and Studio) to run programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Lawrence&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 13:25:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441181#M110320</guid>
      <dc:creator>LawrenceHW</dc:creator>
      <dc:date>2018-03-01T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL LIBNAME option and DBMAX_TEXT not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441186#M110322</link>
      <description>&lt;P&gt;Save to a csv file and use proc import once with guessingrows=max to determine the needed size for the column. Then use the resulting data step for future imports.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 13:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441186#M110322</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-03-01T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: EXCEL LIBNAME option and DBMAX_TEXT not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441188#M110324</link>
      <description>&lt;P&gt;Did you try using the XLSX engine instead of EXCEL engine?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 13:54:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/EXCEL-LIBNAME-option-and-DBMAX-TEXT-not-working-as-expected/m-p/441188#M110324</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-03-01T13:54:52Z</dc:date>
    </item>
  </channel>
</rss>

