<?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 Error in proc export in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82833#M23766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create excel file using my data&amp;nbsp; in unix environment and I have used following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=dm outfile="/sap/kvp/dm.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=excel replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: DBMS type EXCEL not valid for export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=dm outfile="/sap/kvp/dm.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I got following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: DBMS type xls not valid for export. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2013 22:22:52 GMT</pubDate>
    <dc:creator>sampath</dc:creator>
    <dc:date>2013-01-22T22:22:52Z</dc:date>
    <item>
      <title>Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82833#M23766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create excel file using my data&amp;nbsp; in unix environment and I have used following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=dm outfile="/sap/kvp/dm.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=excel replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am getting following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: DBMS type EXCEL not valid for export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc export data=dm outfile="/sap/kvp/dm.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp; dbms=xls replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I got following error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: DBMS type xls not valid for export. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 22:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82833#M23766</guid>
      <dc:creator>sampath</dc:creator>
      <dc:date>2013-01-22T22:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82834#M23767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to license SAS/Access to PC FIle formats on Unix to do this.&amp;nbsp; Otherwise, just export to a .csv file and read that on the PC.&amp;nbsp; See&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63184/HTML/default/viewer.htm#a003094743.htm"&gt;SAS/ACCESS(R) 9.2 Interface to PC Files: Reference, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 00:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82834#M23767</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-01-23T00:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82835#M23768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Duke rightly said it could be an license issue. However you can try alternative ways of exporting your data to excel. please fine below few examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used output delivery system for exporting the data to excel. hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html file="location\example.xls";&lt;/P&gt;&lt;P&gt;proc print data=library.name;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another example is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="location\example.xml";&lt;/P&gt;&lt;P&gt;proc print data=library.name;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;ods listing;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 04:06:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82835#M23768</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-01-23T04:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82836#M23769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Duke.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 04:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82836#M23769</guid>
      <dc:creator>sampath</dc:creator>
      <dc:date>2013-01-23T04:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82837#M23770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; you very much&lt;/SPAN&gt; Jagadish. That was really helpful. However after using &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;ods tagsets&lt;/SPAN&gt; the file that was created was xml file and with features different from actual xls file. I am wondering if there is any way to convert this xml file to xls file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 04:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82837#M23770</guid>
      <dc:creator>sampath</dc:creator>
      <dc:date>2013-01-23T04:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82838#M23771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another method i think which will work for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using libname, please try the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname mylib "location\example.xls";&lt;/P&gt;&lt;P&gt;data mylib.datasetname;&lt;/P&gt;&lt;P&gt;set library.name;&lt;/P&gt;&lt;P&gt;libname mylib clear;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 04:22:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82838#M23771</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2013-01-23T04:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error in proc export</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82839#M23772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One simple way to convert an XML spreadsheet to XLS is just to do a "File Save As" after opening the spreadsheet in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check if you have SAS/ACCESS Interface to PC Files licensed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc setinit noalias;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do have it licensed then you also need to install the PC File Server software on a Windows computer (free download from SAS). This will accept your Excel export requests from your Unix server to produce the actual spreadsheets.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 19:03:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-in-proc-export/m-p/82839#M23772</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-01-23T19:03:27Z</dc:date>
    </item>
  </channel>
</rss>

