<?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: Importing external data stored in *.ods format in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151801#M39955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 2004 I wrote a conference paper "&lt;A href="http://cgi.www.hollandnumerics.co.uk/cgi-bin/www.hollandnumerics.co.uk/download_file.cgi?http://83.104.132.69/pdf/Reading_StarOffice_Calc.pdf" style="font-family: 'Times New Roman'; font-size: 16px; text-align: -webkit-center; background-color: #ffffff;"&gt;Help, I've Received a Spreadsheet File from StarOffice Calc.....!&lt;/A&gt;", which described how to extract data from SXC files (the predecessor of ODS files).&amp;nbsp; This paper may help you read the XML files inside the ODS zip file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 18:21:18 GMT</pubDate>
    <dc:creator>hollandnumerics</dc:creator>
    <dc:date>2014-01-23T18:21:18Z</dc:date>
    <item>
      <title>Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151793#M39947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've received data stored in *.ods format.&amp;nbsp; ODS i&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;s part of the OASIS Open Document Format (ODF) family of file formats and &lt;/SPAN&gt;&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;is an acronym derived from OpenDocument Spreadsheet.&amp;nbsp; It is a n&lt;/SPAN&gt;&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;ative spreadsheet format of OpenOffice.org 2.0, &lt;/SPAN&gt;&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;XML-based format, usually ZIP-compressed, can s&lt;/SPAN&gt;&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;upport multiple sheets in one file and was&amp;nbsp; d&lt;/SPAN&gt;&lt;SPAN style="background-color: #ededed; color: #585858; font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5em;"&gt;eveloped by the OASIS industry consortium, based upon the OpenOffice.org SXC format.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that this data is not from or associated in any way with SAS' ODS reporting, graphics or output formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not surprisingly, Proc Import doesn't support this file type...R has a module that reads it as does Mathematica.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions for getting this information into SAS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 14:58:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151793#M39947</guid>
      <dc:creator>MikeHunter</dc:creator>
      <dc:date>2013-11-21T14:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151794#M39948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you just want to get information from the file you have into SAS dataset, you can open this file in MS Excel, save it as Excel workbook, and import Excel file.&lt;/P&gt;&lt;P&gt;If you want to import .ods file into SAS dataset - try to contact SAS tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151794#M39948</guid>
      <dc:creator>Marina</dc:creator>
      <dc:date>2013-11-21T15:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151795#M39949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; I must have an old version of Excel because my copy doesn't recognize *.ods formatting.&amp;nbsp; And if I can find no information about ODS data (again, not the ODS graphics or reporting structure that SAS uses) anywhere in online SAS support, then I don't think calling Tech Support will get very far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 12:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151795#M39949</guid>
      <dc:creator>MikeHunter</dc:creator>
      <dc:date>2013-11-22T12:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151796#M39950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;If you can read it in R, you can write it with R too !!&lt;/P&gt;&lt;P&gt;only things you need is write.csv() function or from library(foreign) , write directly to SAS data sets.&lt;/P&gt;&lt;P&gt;for example if you read it in the mydat file in R so you can follow these steps:&lt;/P&gt;&lt;P&gt;write.csv(mydata,"mydata.csv")&lt;/P&gt;&lt;P&gt;then launch SAS and read the mydata.csv with proc import or wizard.&lt;/P&gt;&lt;P&gt;and I don't know how SAS will read ODS data sets directly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 15:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151796#M39950</guid>
      <dc:creator>MohammadFayaz</dc:creator>
      <dc:date>2013-11-22T15:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151797#M39951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ODS files are zipped collections of xml files.&amp;nbsp; You could, in theory, unzip the file and then read in the xml files (content.xml I think is the main one you need; if it's like XLSX [which is an extremely similar format], it may also have a strings.xml for storing text).&amp;nbsp; It's nontrivial; I wrote an XLSX reader last year and would say for a very skilled SAS programmer it is probably 20-30 hours of work to deal with anything past a trivial example.&amp;nbsp; On SAS-L, FriedEgg posted a short example that does read in a trivial example at least here: &lt;A href="http://listserv.uga.edu/cgi-bin/wa?A2=ind1208a&amp;amp;L=sas-l&amp;amp;P=21161"&gt;http://listserv.uga.edu/cgi-bin/wa?A2=ind1208a&amp;amp;L=sas-l&amp;amp;P=21161&lt;/A&gt; so perhaps that might be of help if you decide to go that route.&amp;nbsp; It's possible SAS TS could help you if ODS is sufficiently close to XLSX that you could make it look like XLSX by changing some of the file names inside the zip; not sure.&amp;nbsp; Certainly getting it in something else that can read and then write a CSV or Excel file would be easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 16:47:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151797#M39951</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-11-22T16:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151798#M39952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Snoop-&lt;/P&gt;&lt;P&gt;&amp;nbsp; Btw, I followed the link you provided...what a fricking rabbit hole!&amp;nbsp; Heh heh...&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Michael Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 23:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151798#M39952</guid>
      <dc:creator>MikeHunter</dc:creator>
      <dc:date>2013-11-22T23:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151799#M39953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://http//www.openoffice.org/"&gt;Apache OpenOffice&lt;/A&gt; supports the ODS spreadsheet format. You could install it (it's free) and use it to open your file and then save it as CSV or XLS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when I search for "convert ods spreadsheet to csv" in Google I see a number of web sites that claim to support converting ODS-format documents to CSV and other formats. Perhaps one of them will do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 14:55:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151799#M39953</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2013-11-25T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151800#M39954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Tim...that's very helpful.&amp;nbsp; Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 16:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151800#M39954</guid>
      <dc:creator>MikeHunter</dc:creator>
      <dc:date>2013-11-25T16:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Importing external data stored in *.ods format</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151801#M39955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 2004 I wrote a conference paper "&lt;A href="http://cgi.www.hollandnumerics.co.uk/cgi-bin/www.hollandnumerics.co.uk/download_file.cgi?http://83.104.132.69/pdf/Reading_StarOffice_Calc.pdf" style="font-family: 'Times New Roman'; font-size: 16px; text-align: -webkit-center; background-color: #ffffff;"&gt;Help, I've Received a Spreadsheet File from StarOffice Calc.....!&lt;/A&gt;", which described how to extract data from SXC files (the predecessor of ODS files).&amp;nbsp; This paper may help you read the XML files inside the ODS zip file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-external-data-stored-in-ods-format/m-p/151801#M39955</guid>
      <dc:creator>hollandnumerics</dc:creator>
      <dc:date>2014-01-23T18:21:18Z</dc:date>
    </item>
  </channel>
</rss>

