<?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 html from url with Libname OLEDB in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54168#M11462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After checking documentation, I found this. URL is not supported.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001361171.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001361171.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DL&gt;&lt;DT&gt;DATASOURCE=&amp;lt;'&amp;gt;&lt;SPAN class="emph"&gt;data-source&lt;/SPAN&gt;&amp;lt;'&amp;gt;&lt;/DT&gt;&lt;DD&gt;&lt;P&gt;&lt;A name="a002674568"&gt;&lt;/A&gt;identifies the data source object (suchas a relational database server or a local file) to which you want to connect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2012 08:01:40 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2012-02-17T08:01:40Z</dc:date>
    <item>
      <title>Read html from url with Libname OLEDB</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54167#M11461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm trying to read html data from URL with Libname OLEDB:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options validvarname=V7;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libname tmp OLEDB provider="Microsoft.Jet.OLEDB.4.0"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* properties=("data source"="\\Pi693pf005\Ukraine_share\Conscensia_from_pa136\Roa\SAS\Kondor-OR\kondor.html") */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; properties=("data source"="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://pi693pa258/sn_drift/kondor_rettelse.nsf/6e2cd21bfc54bf41c12579790034d84d?OpenView&amp;amp;Count=10000000"&gt;http://pi693pa258/sn_drift/kondor_rettelse.nsf/6e2cd21bfc54bf41c12579790034d84d?OpenView&amp;amp;Count=10000000&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; provider_string="HTML Import";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data imported;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set tmp."SAS-Eksport1"n;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But received next error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Error trying to establish connection: Unable to Initialize: Cannot update.&amp;nbsp; Database or object is read-only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data on html page is table with a couple of rows and columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I save *.html file physically from above URL, then everything works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with such issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 11:02:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54167#M11461</guid>
      <dc:creator>RomanA</dc:creator>
      <dc:date>2012-02-15T11:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read html from url with Libname OLEDB</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54168#M11462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After checking documentation, I found this. URL is not supported.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001361171.htm"&gt;http://support.sas.com/documentation/cdl/en/acreldb/63647/HTML/default/viewer.htm#a001361171.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DL&gt;&lt;DT&gt;DATASOURCE=&amp;lt;'&amp;gt;&lt;SPAN class="emph"&gt;data-source&lt;/SPAN&gt;&amp;lt;'&amp;gt;&lt;/DT&gt;&lt;DD&gt;&lt;P&gt;&lt;A name="a002674568"&gt;&lt;/A&gt;identifies the data source object (suchas a relational database server or a local file) to which you want to connect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 08:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54168#M11462</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-02-17T08:01:40Z</dc:date>
    </item>
    <item>
      <title>Read html from url with Libname OLEDB</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54169#M11463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider using &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003286807.htm"&gt;PROC HTTP&lt;/A&gt; to download the results of your HTTP request.&amp;nbsp; You may be able to read thelocal copy using OLEDB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:47:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54169#M11463</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2012-02-17T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Read html from url with Libname OLEDB</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54170#M11464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanx a lot. I manage to read data to physical file and then use oledb to create data set. Everything works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 13:06:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-html-from-url-with-Libname-OLEDB/m-p/54170#M11464</guid>
      <dc:creator>Yuriy2301</dc:creator>
      <dc:date>2012-02-22T13:06:58Z</dc:date>
    </item>
  </channel>
</rss>

