<?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: Read Excel file from metadata in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286382#M19594</link>
    <description>&lt;P&gt;When a file is "saved in metadata", usually that means in a SAS metadata folder. &amp;nbsp;The information is registered in metadata, while the physical file is stored in the SAS Content Server. &amp;nbsp;The SAS Content Server is a WebDAV-compliant HTTP server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HTTP can be used to access, if you know the URL/port and the metadata path and have the proper credentials. &amp;nbsp;Here's an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename xlsout "%sysfunc(getoption(WORK))/file.xlsx";

%let server=http://yourserver.company.com:7980/SASContentServer;

proc http  
url="&amp;amp;server./repository/default/sasfolders/Shared%20Data/stp_samples/file.xlsx"
  WEBUSERNAME="xxxxx"
  webpassword="xxxxx"
  method="GET"
  OUT=xlsout
;
run;

proc import datafile=xlsout
 out=result
 replace
 dbms=xlsx;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 22 Jul 2016 13:39:18 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2016-07-22T13:39:18Z</dc:date>
    <item>
      <title>Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286362#M19585</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use an Excel file as a source for an ETL Process. The file will be edit by users&amp;nbsp;in Excel and opened / saved&amp;nbsp;with the SAS Excel Addin (function Extras -&amp;gt; save in sas folder). Also the file is stored in metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is: how&amp;nbsp; can I access the content of the file in EG or as user written code in DI-Studio?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 11:56:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286362#M19585</guid>
      <dc:creator>arial34</dc:creator>
      <dc:date>2016-07-22T11:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286372#M19588</link>
      <description>&lt;P&gt;If you need a way for users to input data, wouldn't it be easier to write a stored process that stores directly to a SAS dataset?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:19:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286372#M19588</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-07-22T13:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286375#M19589</link>
      <description>&lt;P&gt;Can you elaborate a little on "also the file is stored in metadata". In what form? How do you get it into the metadata server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286375#M19589</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2016-07-22T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286377#M19590</link>
      <description>&lt;P&gt;User opens an excel sheet using the SAS excel addin. Then after edit user saves file with the same addin in a defined folder. So the file content is stored not in the file system.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:25:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286377#M19590</guid>
      <dc:creator>arial34</dc:creator>
      <dc:date>2016-07-22T13:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286378#M19591</link>
      <description>It would be a big overhead for our problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286378#M19591</guid>
      <dc:creator>arial34</dc:creator>
      <dc:date>2016-07-22T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286379#M19592</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15142"&gt;@TomKari﻿&lt;/a&gt;, I just tried that for the first time. The MS Office Add-In allows storing of Office documents into the metadata folders. Some checks did not yet reveal if the documents are put into the metadata repository itself or stored via webdav into the SAS Content Server (with a link in the metadata).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286379#M19592</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-07-22T13:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286381#M19593</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67878"&gt;@arial34&lt;/a&gt; wrote:&lt;BR /&gt;It would be a big overhead for our problem &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Absolutely not. It would take the execrable Excel out of the process, only need a web browser for users, and you could even code sanity checks into the STP (or the web form, using javascript).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286381#M19593</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-07-22T13:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286382#M19594</link>
      <description>&lt;P&gt;When a file is "saved in metadata", usually that means in a SAS metadata folder. &amp;nbsp;The information is registered in metadata, while the physical file is stored in the SAS Content Server. &amp;nbsp;The SAS Content Server is a WebDAV-compliant HTTP server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC HTTP can be used to access, if you know the URL/port and the metadata path and have the proper credentials. &amp;nbsp;Here's an example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename xlsout "%sysfunc(getoption(WORK))/file.xlsx";

%let server=http://yourserver.company.com:7980/SASContentServer;

proc http  
url="&amp;amp;server./repository/default/sasfolders/Shared%20Data/stp_samples/file.xlsx"
  WEBUSERNAME="xxxxx"
  webpassword="xxxxx"
  method="GET"
  OUT=xlsout
;
run;

proc import datafile=xlsout
 out=result
 replace
 dbms=xlsx;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286382#M19594</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-07-22T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286488#M19596</link>
      <description>Well if you have the add in, why use Excel format for storage? &lt;BR /&gt;The addin could access a SAS data set on the server. That should be registered in meta data, and then easily accessed from DI Studio.</description>
      <pubDate>Fri, 22 Jul 2016 21:22:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/286488#M19596</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-07-22T21:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read Excel file from metadata</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/287116#M19608</link>
      <description>Thank you for your help. It works great.</description>
      <pubDate>Tue, 26 Jul 2016 07:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Read-Excel-file-from-metadata/m-p/287116#M19608</guid>
      <dc:creator>arial34</dc:creator>
      <dc:date>2016-07-26T07:58:00Z</dc:date>
    </item>
  </channel>
</rss>

