<?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: PROC EXPORT DBMS=EXCEL in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/410779#M67311</link>
    <description>&lt;P&gt;Actually, a quick search shows it seems to be a Microsoft issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.msdn.microsoft.com/dataaccesstechnologies/2017/10/18/unexpected-error-from-external-database-driver-1-microsoft-jet-database-engine-after-applying-october-security-updates/" target="_blank"&gt;https://blogs.msdn.microsoft.com/dataaccesstechnologies/2017/10/18/unexpected-error-from-external-database-driver-1-microsoft-jet-database-engine-after-applying-october-security-updates/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I mentioned before with the filename, use the correct file extension and this should solve it, if not follow m$ advice:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;export&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;dt&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;volumeEntity3 outfile&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'D:\SAS\workplan\output_crosssell.xlsx'&lt;/SPAN&gt; dbms&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;excel&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;replace&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2017 09:19:39 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-11-06T09:19:39Z</dc:date>
    <item>
      <title>PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408486#M67125</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My version of SAS is base SAS 9.2&lt;/P&gt;&lt;P&gt;Windows 7 64 bit&lt;/P&gt;&lt;P&gt;Office Excel 2013 32-bit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;SAS/ACCESS to PC Files is installed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code use to work correctly but now I am getting error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Connect: Unexpected error from external database driver (1).&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the LIBNAME statement.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=dt.volumeEntity3 outfile='D:\SAS\workplan\output_crosssell.xls' dbms=excel replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 06:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408486#M67125</guid>
      <dc:creator>hellind</dc:creator>
      <dc:date>2017-10-30T06:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408514#M67127</link>
      <description>&lt;P&gt;Please post full log, especially with the libname statement for "dt".&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 08:26:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408514#M67127</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-10-30T08:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408535#M67128</link>
      <description>&lt;P&gt;Whilst this is not your issue (from what I can tell from the brief bit posted) as your issue relates to the libname you haven't supplied, in your code you state output file is .xls - xls is a file extension for &amp;lt; 2003 Excel, it is the old binary file format.&amp;nbsp; dsbms=excel should create .xlsx files, or Open Office file format, so ensure the file extension matches the file type.&amp;nbsp; Shouldn't matter in this case, but might switch the engine if your not careful, and anyone using the file will be thrown off by the mismatch.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:35:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/408535#M67128</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-10-30T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/410513#M67280</link>
      <description>&lt;P&gt;Which libname shoud I supply?&lt;BR /&gt;&lt;BR /&gt;libname dt 'd:\sas\dt';&lt;BR /&gt;&lt;BR /&gt;It is working. It is a local folder.&lt;/P&gt;&lt;P&gt;And this code used to work before.Suddenly it&amp;nbsp; stopped working.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2017 07:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/410513#M67280</guid>
      <dc:creator>hellind</dc:creator>
      <dc:date>2017-11-04T07:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/410779#M67311</link>
      <description>&lt;P&gt;Actually, a quick search shows it seems to be a Microsoft issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.msdn.microsoft.com/dataaccesstechnologies/2017/10/18/unexpected-error-from-external-database-driver-1-microsoft-jet-database-engine-after-applying-october-security-updates/" target="_blank"&gt;https://blogs.msdn.microsoft.com/dataaccesstechnologies/2017/10/18/unexpected-error-from-external-database-driver-1-microsoft-jet-database-engine-after-applying-october-security-updates/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I mentioned before with the filename, use the correct file extension and this should solve it, if not follow m$ advice:&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;export&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;dt&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;volumeEntity3 outfile&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'D:\SAS\workplan\output_crosssell.xlsx'&lt;/SPAN&gt; dbms&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;excel&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;replace&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2017 09:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/410779#M67311</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-11-06T09:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT DBMS=EXCEL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/420017#M67855</link>
      <description>The issue is resolved after the recently downloading the new Microsoft Update.</description>
      <pubDate>Mon, 11 Dec 2017 05:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-DBMS-EXCEL/m-p/420017#M67855</guid>
      <dc:creator>hellind</dc:creator>
      <dc:date>2017-12-11T05:55:01Z</dc:date>
    </item>
  </channel>
</rss>

