<?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: How to export SAS data to LibreOffice Calc (an open source Excel) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947228#M370837</link>
    <description>&lt;P&gt;You don't need MS Office installed on the server to create MS Excel files using SAS. You do need SAS Module SAS Access Interface to PC files installed and licensed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To check if SAS Access&amp;nbsp;Interface to PC Files is licensed and installed run below commands and then check in the SAS log if it appears.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* licensed modules */
proc setinit;
run;

/* installed modules */
proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To further support you please let us first know if SAS Access Interface to PC Files is available to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Btw: What is a "large SAS dataset"? Excel got a limit of 1M rows per sheet.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Oct 2024 01:07:36 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2024-10-13T01:07:36Z</dc:date>
    <item>
      <title>How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947223#M370835</link>
      <description>&lt;P&gt;I need to export a large SAS dataset to LibreOffice Calc, which is open source Excel similar to MicroOffice Excel. This is due to server restrictions where MicroOffice is not installed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following codes:&lt;/P&gt;&lt;P&gt;proc export data=mydata&lt;/P&gt;&lt;P&gt;outfile=''directory\mydata.ods' dbms=ODF replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log file says "DBMS&amp;nbsp; type ODF not valid for expert". Any solutions? If MicroSoft Office is not allowed, how to take this dataset out?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2024 23:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947223#M370835</guid>
      <dc:creator>cashaowan</dc:creator>
      <dc:date>2024-10-12T23:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947228#M370837</link>
      <description>&lt;P&gt;You don't need MS Office installed on the server to create MS Excel files using SAS. You do need SAS Module SAS Access Interface to PC files installed and licensed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To check if SAS Access&amp;nbsp;Interface to PC Files is licensed and installed run below commands and then check in the SAS log if it appears.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* licensed modules */
proc setinit;
run;

/* installed modules */
proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To further support you please let us first know if SAS Access Interface to PC Files is available to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Btw: What is a "large SAS dataset"? Excel got a limit of 1M rows per sheet.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 01:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947228#M370837</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-10-13T01:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947307#M370866</link>
      <description>&lt;P&gt;I run the codes you provided. SAS/Access Interface to PC Files is installed. The dataset I created has less than 5000 observations. Would appreciate if you can suggest the next SAS procedure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 02:36:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947307#M370866</guid>
      <dc:creator>cashaowan</dc:creator>
      <dc:date>2024-10-14T02:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947313#M370867</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304913"&gt;@cashaowan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I run the codes you provided. SAS/Access Interface to PC Files is installed. The dataset I created has less than 5000 observations. Would appreciate if you can suggest the next SAS procedure.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Below one option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export 
  data=sashelp.class
  outfile='c:\temp\myExcel.xlsx' 
  dbms=xlsx 
  replace
  ;
  sheet='Class';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And here some more options:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2012/01/25/export-to-excel-got-easier/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sasdummy/2012/01/25/export-to-excel-got-easier/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/sasdummy/2012/02/11/export-excel-methods/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The path to the Excel file must be accessible from the location where the SAS process executes. If this is a SAS Server under Linux then it would be some Linux path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 06:58:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947313#M370867</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-10-14T06:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947384#M370878</link>
      <description>&lt;P&gt;I think it is the computer station itself that isn't allowed to have Microsoft windows installed. That's why I need to consider LibreOffice Calc. I used the option "dbms=ODF" instead of "dbms=xlsx" in my initial codes.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 14:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947384#M370878</guid>
      <dc:creator>cashaowan</dc:creator>
      <dc:date>2024-10-14T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947385#M370879</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If LibreOffice can open a comma separated value file (.CSV), then you could use that with PROC EXPORT or you could use ODS CSV -- either should create a CSV file that can be imported. Here's an example using SASHELP.CLASS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=sashelp.class
            file='c:\temp\class_ex.csv'
			dbms=csv 
			replace;
run;

ods csv file='c:\temp\class_ods.csv';
proc print data=sashelp.class noobs;
  var name sex age height weight;
run;
ods csv close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 14:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947385#M370879</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2024-10-14T14:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947389#M370881</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/304913"&gt;@cashaowan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I think it is the computer station itself that isn't allowed to have Microsoft windows installed. That's why I need to consider LibreOffice Calc. I used the option "dbms=ODF" instead of "dbms=xlsx" in my initial codes.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;SAS does not provide an engine to write ODF files.&lt;/P&gt;
&lt;P&gt;But LibreOffice should be able to read (and I assume also write) actual XLSX files.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 15:16:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947389#M370881</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-10-14T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to export SAS data to LibreOffice Calc (an open source Excel)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947403#M370883</link>
      <description>&lt;P&gt;LibreOffice supports all MS Office formats, so you should use the XLSX engine.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 17:04:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-export-SAS-data-to-LibreOffice-Calc-an-open-source-Excel/m-p/947403#M370883</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-10-14T17:04:05Z</dc:date>
    </item>
  </channel>
</rss>

