<?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 in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115805#M32012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brief add to Reeza's solution, tagsets.excelxp actually creates XML and you may get a warning from Excel that the file isn't in the format expected given it's name. You may want to actually do a "Save As" from Excel to make an actual XLX or XLXS file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 22:18:49 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-11-02T22:18:49Z</dc:date>
    <item>
      <title>Proc Export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115803#M32010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I need to export a dataset to create a new excel spreadsheet (not a csv and not DDE into an existing excel spreadsheet).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: -18pt; margin: 0px 0px 8.4pt;"&gt;&lt;SPAN style="font-family: Symbol; color: black; font-size: 10pt;"&gt;&lt;SPAN class="pasted-list-info"&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;When trying to do so I get the following error &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;“ERROR: DBMS type EXCELCS not valid for export.” &lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;(DBMS = EXCELCS is for connecting remotely), so it looks like I don’t hold the correct SAS/access interfacing licence?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: -18pt; margin: 0px 0px 8.4pt;"&gt;&lt;SPAN style="font-family: Symbol; color: #1f497d; font-size: 10pt;"&gt;&lt;SPAN class="pasted-list-info"&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;Am I missing something here or is it just not possible to do with our current packages, which are&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.sas.com/technologies/analytics/statistics/analytics-pro/index.html"&gt;SAS® Analytics Pro&lt;/A&gt; (which includes Base SAS, SAS/STAT and SAS/GRAPH)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;A href="http://www.sas.com/technologies/analytics/statistics/analytics-pro/index.html"&gt;SAS® Access Interface to ODBC&lt;/A&gt; – which allow you to access any ODBC compliant Data Source provided that you have the right drivers installed&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My code is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data = dat_expo&lt;/P&gt;&lt;P&gt;outfile="dat_out.xls"&lt;/P&gt;&lt;P&gt;dbms=EXCEL&amp;nbsp; /* I've also tried EXCELCS */&lt;/P&gt;&lt;P&gt;replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Jude&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115803#M32010</guid>
      <dc:creator>jtuk</dc:creator>
      <dc:date>2012-11-02T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115804#M32011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run proc setinit; run; to see if you have the CONNECT and/or ACCESS to PC FILES Licenses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to use ods tagsets.excelxp. No license needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="dat_out.xls";&lt;/P&gt;&lt;P&gt;proc print data=dat_expo;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find references here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_demo.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115804#M32011</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-11-02T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115805#M32012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brief add to Reeza's solution, tagsets.excelxp actually creates XML and you may get a warning from Excel that the file isn't in the format expected given it's name. You may want to actually do a "Save As" from Excel to make an actual XLX or XLXS file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 22:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115805#M32012</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-11-02T22:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115806#M32013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or Try another engine if your file is in English.&lt;/P&gt;&lt;P&gt;dbms=XLS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 02:32:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Export/m-p/115806#M32013</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-11-05T02:32:13Z</dc:date>
    </item>
  </channel>
</rss>

