<?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 to Excel problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14714#M2425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot it works with CSV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2013 08:54:04 GMT</pubDate>
    <dc:creator>kmel56</dc:creator>
    <dc:date>2013-07-09T08:54:04Z</dc:date>
    <item>
      <title>PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14698#M2409</link>
      <description>I am using SAS Enterprise Guide 4.3 on SAS 9.2 and am having a problem with the following code snippit&lt;BR /&gt;
&lt;BR /&gt;
PROC EXPORT &lt;BR /&gt;
	DATA=WORK.EDPEDS&lt;BR /&gt;
    OUTFILE= "S:\EDPeds.XLS" &lt;BR /&gt;
    DBMS=EXCEL2000  REPLACE;&lt;BR /&gt;
    NEWFILE=YES;&lt;BR /&gt;
	sheet="ED";&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
When it runs I get the following error in the log:&lt;BR /&gt;
282        /*Export data to an excel file*/&lt;BR /&gt;
283        PROC EXPORT&lt;BR /&gt;
284        	DATA=WORK.EDPEDS&lt;BR /&gt;
285            OUTFILE= "S:\EDPeds.XLS"&lt;BR /&gt;
286            DBMS=EXCEL2000  REPLACE;&lt;BR /&gt;
ERROR: DBMS type EXCEL2000 not valid for export.&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: PROCEDURE EXPORT used (Total process time):&lt;BR /&gt;
      real time           0.00 seconds&lt;BR /&gt;
      cpu time            0.00 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can someone point me in the right direction?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Dick Shryock&lt;BR /&gt;
On the rock bound coast of Maine</description>
      <pubDate>Wed, 15 Jun 2011 19:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14698#M2409</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-15T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14699#M2410</link>
      <description>I believe that means your computer doesn't have the correct license to output Excel files.&lt;BR /&gt;
&lt;BR /&gt;
I have a similar issue at work with this as our remote server runs on a HP-UX box, and does not have the licences for outputting to Excel.  I can however use the built-in EG export to save to an excel file, but that of course means you can't use macro automation for file names and such.&lt;BR /&gt;
&lt;BR /&gt;
You should be able to see the available products/licenses by running the below.  It could be you have an alternative excel licence that would work.&lt;BR /&gt;
&lt;BR /&gt;
proc setinit noalias;&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 15 Jun 2011 19:57:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14699#M2410</guid>
      <dc:creator>DF</dc:creator>
      <dc:date>2011-06-15T19:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14700#M2411</link>
      <description>Thanks So I ran the code and got this:&lt;BR /&gt;
&lt;BR /&gt;
Product expiration dates:&lt;BR /&gt;
---Base Product                                                            30DEC2011  &lt;BR /&gt;
---SAS/STAT                                                                30DEC2011  &lt;BR /&gt;
---SAS/GRAPH                                                               30DEC2011  &lt;BR /&gt;
---SAS/ETS                                                                 30DEC2011  &lt;BR /&gt;
---SAS/QC                                                                  30DEC2011  &lt;BR /&gt;
---SAS/SHARE                                                               30DEC2011  &lt;BR /&gt;
---SAS/CONNECT                                                             30DEC2011  &lt;BR /&gt;
---SAS/SHARE*NET                                                           30DEC2011  &lt;BR /&gt;
---SAS OLAP Server                                                         30DEC2011  &lt;BR /&gt;
---MDDB Server common products                                             30DEC2011  &lt;BR /&gt;
---SAS Integration Technologies                                            30DEC2011  &lt;BR /&gt;
---SAS Strategic Performance Management                                    30DEC2011  &lt;BR /&gt;
---SAS High-Performance Forecasting                                        30DEC2011  &lt;BR /&gt;
---SAS Solutions Server Components                                         30DEC2011  &lt;BR /&gt;
---SAS/ACCESS Interface to PC Files                                        30DEC2011  &lt;BR /&gt;
---SAS/ACCESS Interface to OLE DB                                          30DEC2011  &lt;BR /&gt;
---SAS/ACCESS Interface to MYSQL                                           30DEC2011  &lt;BR /&gt;
---SAS Metadata Bridges for General Industry Standards                     30DEC2011  &lt;BR /&gt;
---SAS Workspace Server for Local Access                                   30DEC2011  &lt;BR /&gt;
---SAS Workspace Server for Enterprise Access                              30DEC2011  &lt;BR /&gt;
---SAS Table Server                                                        30DEC2011  &lt;BR /&gt;
&lt;BR /&gt;
What am I looking for?</description>
      <pubDate>Wed, 15 Jun 2011 20:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14700#M2411</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-15T20:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14701#M2412</link>
      <description>You have the right licenses.  Does your SAS server happen to be a 64-bit machine?&lt;BR /&gt;
&lt;BR /&gt;
Art</description>
      <pubDate>Wed, 15 Jun 2011 22:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14701#M2412</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-06-15T22:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14702#M2413</link>
      <description>Can you export with the libname statement or do you get an error?&lt;BR /&gt;
&lt;BR /&gt;
libname test excel "s:\EDPeds.xls"&lt;BR /&gt;
&lt;BR /&gt;
data test.ed;&lt;BR /&gt;
set edpeds;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
libname test;</description>
      <pubDate>Wed, 15 Jun 2011 22:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14702#M2413</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-06-15T22:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14703#M2414</link>
      <description>Did you try&lt;BR /&gt;
DBMS=EXCEL&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 16 Jun 2011 06:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14703#M2414</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-06-16T06:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14704#M2415</link>
      <description>Yes the server is 64 Bit the clients are 32bit.&lt;BR /&gt;
&lt;BR /&gt;
-d</description>
      <pubDate>Thu, 16 Jun 2011 10:24:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14704#M2415</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-16T10:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14705#M2416</link>
      <description>Yes and all of the iterations 2000, 2003, 2007...</description>
      <pubDate>Thu, 16 Jun 2011 10:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14705#M2416</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-16T10:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14706#M2417</link>
      <description>It fails on the LIBNAME:&lt;BR /&gt;
32         libname test excel "s:\EDPeds.xls"&lt;BR /&gt;
33         &lt;BR /&gt;
34         &lt;BR /&gt;
35         GOPTIONS NOACCESSIBLE;&lt;BR /&gt;
ERROR: The EXCEL engine cannot be found.&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.</description>
      <pubDate>Thu, 16 Jun 2011 10:37:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14706#M2417</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-16T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14707#M2418</link>
      <description>Dick,&lt;BR /&gt;
&lt;BR /&gt;
Since the server is using the 64-bit version, your choices are limited to XLS and EXCELCS, or also loading the 32-bit version.  Take a look at: &lt;A href="http://support.sas.com/kb/33/228.html" target="_blank"&gt;http://support.sas.com/kb/33/228.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
Art&lt;BR /&gt;
-------&lt;BR /&gt;
&amp;gt; I am using SAS Enterprise Guide 4.3 on SAS 9.2 and am&lt;BR /&gt;
&amp;gt; having a problem with the following code snippit&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; PROC EXPORT &lt;BR /&gt;
&amp;gt; 	DATA=WORK.EDPEDS&lt;BR /&gt;
&amp;gt;     OUTFILE= "S:\EDPeds.XLS" &lt;BR /&gt;
&amp;gt; DBMS=EXCEL2000  REPLACE;&lt;BR /&gt;
&amp;gt;     NEWFILE=YES;&lt;BR /&gt;
&amp;gt; et="ED";&lt;BR /&gt;
&amp;gt; run;&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; When it runs I get the following error in the log:&lt;BR /&gt;
&amp;gt; 282        /*Export data to an excel file*/&lt;BR /&gt;
&amp;gt; 283        PROC EXPORT&lt;BR /&gt;
&amp;gt; 284        	DATA=WORK.EDPEDS&lt;BR /&gt;
&amp;gt; 285            OUTFILE= "S:\EDPeds.XLS"&lt;BR /&gt;
&amp;gt; 286            DBMS=EXCEL2000  REPLACE;&lt;BR /&gt;
&amp;gt; ERROR: DBMS type EXCEL2000 not valid for export.&lt;BR /&gt;
&amp;gt; NOTE: The SAS System stopped processing this step&lt;BR /&gt;
&amp;gt; because of errors.&lt;BR /&gt;
&amp;gt; NOTE: PROCEDURE EXPORT used (Total process time):&lt;BR /&gt;
&amp;gt;       real time           0.00 seconds&lt;BR /&gt;
&amp;gt; cpu time            0.00 seconds&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Can someone point me in the right direction?&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; Thanks,&lt;BR /&gt;
&amp;gt; Dick Shryock&lt;BR /&gt;
&amp;gt; On the rock bound coast of Maine</description>
      <pubDate>Thu, 16 Jun 2011 14:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14707#M2418</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-06-16T14:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14708#M2419</link>
      <description>Thanks Art the Excelcs worked thanks for your help&lt;BR /&gt;
&lt;BR /&gt;
=d</description>
      <pubDate>Thu, 16 Jun 2011 15:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14708#M2419</guid>
      <dc:creator>Dick_Shryock</dc:creator>
      <dc:date>2011-06-16T15:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14709#M2420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. This worked finally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 22:07:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14709#M2420</guid>
      <dc:creator>yyAjax</dc:creator>
      <dc:date>2013-06-26T22:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14710#M2421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the same problem, howabout if i don't have Access Interface To PC File Licence?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 16:04:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14710#M2421</guid>
      <dc:creator>kmel56</dc:creator>
      <dc:date>2013-07-08T16:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14711#M2422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should post this as a new question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using EG? SAS&lt;STRONG&gt; Base, what version?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 16:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14711#M2422</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-08T16:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14712#M2423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I'm working on EG 5.1, the machie is a SAS 9.3 version&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 16:15:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14712#M2423</guid>
      <dc:creator>kmel56</dc:creator>
      <dc:date>2013-07-08T16:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14713#M2424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can PROC EXPORT to CSV (DBMS = CSV) if you don't have SAS/ACCESS to PC Files licensed, then open the file in Excel and do a File Save As to save in Excel format. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 20:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14713#M2424</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-07-08T20:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14714#M2425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot it works with CSV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 08:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/14714#M2425</guid>
      <dc:creator>kmel56</dc:creator>
      <dc:date>2013-07-09T08:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC EXPORT to Excel problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/232751#M54748</link>
      <description>&lt;P&gt;I think this is a duplicate of this thread: &lt;A href="https://communities.sas.com/t5/SAS-Procedures/Problem-with-PROC-EXPORT/td-p/88349," target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Problem-with-PROC-EXPORT/td-p/88349&lt;/A&gt; and since I am new to this forum, I don't know how to link my answer directly. So I'll just copy and paste my answer into here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I know this is an old thread, but I just encountered this problem myself, and solved the following way. Actually two ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Forget about Excel, just export into CSV. (This is what I always did with Python, always easier.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA=last&lt;/P&gt;&lt;P&gt;OUTFILE='/home/data.&lt;STRONG&gt;csv&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;DBMS=&lt;STRONG&gt;CSV&lt;/STRONG&gt; REPLACE;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PUTNAMES = YES;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If you insist on Excel, here you go:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA=last&lt;/P&gt;&lt;P&gt;OUTFILE='/home/data.&lt;STRONG&gt;xls&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;DBMS=&lt;STRONG&gt;EXCEL5 &lt;/STRONG&gt;REPLACE;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short, EXCEL5 is the key. Hope this helps.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Nov 2015 15:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-EXPORT-to-Excel-problem/m-p/232751#M54748</guid>
      <dc:creator>FatihAkici</dc:creator>
      <dc:date>2015-11-02T15:35:30Z</dc:date>
    </item>
  </channel>
</rss>

