<?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: export sas data file into excell in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365472#M86801</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/104137"&gt;@zhuxiaoyan1&lt;/a&gt; wrote:&lt;BR /&gt;I tried tagsets.ExcelXp and created a file, but my computer could not open the file. I also tried Export Macro, it gave me error massage: Undetermined I/O failure.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't do anything with this information. If you need further assistance you're going to have to provide more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other things you should try:&lt;/P&gt;
&lt;P&gt;1. Can you 'manually' export the file. If in BASE right click dataset and Export.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Check your licenses, use PROC SETINIT and/or PROC PRODUCT_STATUS to verify what you have installed.&lt;/P&gt;
&lt;P&gt;3. Export as CSV and convert to XLSX manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - SAS 9.3 is getting close to a decade old at this point. Expecting it to work with Excel 2013 isn't reasonable.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2017 18:42:57 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-06-08T18:42:57Z</dc:date>
    <item>
      <title>export sas data file into excell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365430#M86787</link>
      <description>&lt;P&gt;I use this code to export my three sas data files into an excell file with three sheets:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=EPI_PCT &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xlsx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'\\nasnpmmds\EBI1\mmds\AHCPII\Pricing\Threshold_Updating\Threshold Update-Danielle\8-CABG / RB8'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"EPI_PCT"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=PAP_PCT &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xlsx &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'\\nasnpmmds\EBI1\mmds\AHCPII\Pricing\Threshold_Updating\Threshold Update-Danielle\8-CABG / RB8'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"PAP5_PCT"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;export&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Gain_Risk &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;dbms&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=xlsx &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;outfile&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'\\nasnpmmds\EBI1\mmds\AHCPII\Pricing\Threshold_Updating\Threshold Update-Danielle\8-CABG / RB8'&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;replace&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sheet&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"Gain_Risk"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;but it give me error message:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The SAS/ACCESS Interface to PC Files is not installed. Please install this module in order to IMPORT/EXPORT to these file types.&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;even I installed sas pc file server. My SAS version is 9.3 TS1M2, Ms 32 bits, Windows 64 bits. I've installed pcfilesrv_931401_win_EN_web_1. Have I installed a wrong pcfile server?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 16:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365430#M86787</guid>
      <dc:creator>zhuxiaoyan1</dc:creator>
      <dc:date>2017-06-08T16:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: export sas data file into excell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365435#M86788</link>
      <description>&lt;P&gt;With PC File server you use a libname statement to link to the desired XLSX file, or create a new one, and use data step or other procedures to write to the library. Then clear the libname so SAS no longer locks the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some thing like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname myexc PCFILES path="\\nasnpmmds\EBI1\mmds\AHCPII\Pricing\Threshold_Updating\Threshold Update-Danielle\8-CABG\RB8.xlsx";

data myexc.EPI_PCT ;
   set EPI_PCT ;
run;

data myexc.PAP_PCT ;
   set PAP_PCT ;
run;
data myexc.Gain_Risk  ;
   set Gain_Risk  ;
run;

libname myexc clear;&lt;/PRE&gt;
&lt;P&gt;I am not exactly sure of the path and file name as your use of mixed / and \ in the path looks odd. I also recommend no spaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 16:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365435#M86788</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-08T16:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: export sas data file into excell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365453#M86794</link>
      <description>&lt;P&gt;XLSX will have a limit of one sheet to a file in SAS 9.3 TS1M3 so you can't do multiple sheets.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upgrades are free, but since you're on a server that's not a straightforward process and you likely have to go through IT and can't control that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option would be&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Rich Poor Proc Export Macro - user written, a lot functionality as desired.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export" target="_blank"&gt;http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Tagsets.Excelxp - Well documented, lots of options but not a native XLSX file, it creates an XML file instead.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 17:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365453#M86794</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-08T17:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: export sas data file into excell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365469#M86799</link>
      <description>I tried tagsets.ExcelXp and created a file, but my computer could not open the file. I also tried Export Macro, it gave me error massage: Undetermined I/O failure.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Jun 2017 18:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365469#M86799</guid>
      <dc:creator>zhuxiaoyan1</dc:creator>
      <dc:date>2017-06-08T18:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: export sas data file into excell</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365472#M86801</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/104137"&gt;@zhuxiaoyan1&lt;/a&gt; wrote:&lt;BR /&gt;I tried tagsets.ExcelXp and created a file, but my computer could not open the file. I also tried Export Macro, it gave me error massage: Undetermined I/O failure.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't do anything with this information. If you need further assistance you're going to have to provide more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other things you should try:&lt;/P&gt;
&lt;P&gt;1. Can you 'manually' export the file. If in BASE right click dataset and Export.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Check your licenses, use PROC SETINIT and/or PROC PRODUCT_STATUS to verify what you have installed.&lt;/P&gt;
&lt;P&gt;3. Export as CSV and convert to XLSX manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI - SAS 9.3 is getting close to a decade old at this point. Expecting it to work with Excel 2013 isn't reasonable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 18:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-sas-data-file-into-excell/m-p/365472#M86801</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-08T18:42:57Z</dc:date>
    </item>
  </channel>
</rss>

