<?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 reading web use URL has a problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/reading-web-use-URL-has-a-problem/m-p/95906#M27134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I want ask SAS to read content of a website,at first I use the example as below:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename foo url&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/techsup/service_intro.html';"&gt;http://support.sas.com/techsup/service_intro.html';&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; infile foo length=len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input record $varying200. len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put record $varying200. len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if _n_=15 then stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;this is an example of SAS,but when I run the code ,error happened as the log show:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Hostname support.sas.com not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 15:02:44 GMT</pubDate>
    <dc:creator>Mike_Davis</dc:creator>
    <dc:date>2012-06-29T15:02:44Z</dc:date>
    <item>
      <title>reading web use URL has a problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/reading-web-use-URL-has-a-problem/m-p/95906#M27134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I want ask SAS to read content of a website,at first I use the example as below:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename foo url&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/techsup/service_intro.html';"&gt;http://support.sas.com/techsup/service_intro.html';&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; infile foo length=len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input record $varying200. len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put record $varying200. len;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if _n_=15 then stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;this is an example of SAS,but when I run the code ,error happened as the log show:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Hostname support.sas.com not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 15:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/reading-web-use-URL-has-a-problem/m-p/95906#M27134</guid>
      <dc:creator>Mike_Davis</dc:creator>
      <dc:date>2012-06-29T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: reading web use URL has a problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/reading-web-use-URL-has-a-problem/m-p/95907#M27135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ... that's not a valid URL on the SAS web site&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you try that URL in a browser you get the attached error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;valid URLs work, for example ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;filename foo url '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/techsup/support.html"&gt;http://support.sas.com/techsup/support.html&lt;/A&gt;&lt;SPAN&gt;'&amp;nbsp; ;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;data _null_;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt; infile foo;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt; input;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt; put _infile_;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt; if _n_ eq 15 then stop;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11081i1C449F4B347160A6/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="notfound.png" title="notfound.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 15:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/reading-web-use-URL-has-a-problem/m-p/95907#M27135</guid>
      <dc:creator>MikeZdeb</dc:creator>
      <dc:date>2012-06-29T15:57:53Z</dc:date>
    </item>
  </channel>
</rss>

