<?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: help: read html source code in Developers</title>
    <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1134#M1547</link>
    <description>I sent an email to request more forum topics. &lt;BR /&gt;
Here is the code that I use. It works but it takes 1-5 minutes for one URL. I would like to shorten the time so it can read the data in seconds. &lt;BR /&gt;
&lt;BR /&gt;
How can I modify this code to shorten the time. Is there a faster way? Is it slow because we don't have enough bandwidth or is more of a problem with my code? Maybe it takes so long because of security barriers? What do the experts think. Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
JPI&lt;BR /&gt;
&lt;BR /&gt;
CODE:&lt;BR /&gt;
filename connect url &lt;BR /&gt;
    "http://www.whitepages.com:80/10001/search/FindPersonfirstname_begins_with=1&amp;amp;firstname=Jared&amp;amp;name=Pratt&amp;amp;city_zip=&amp;amp;state_id=UT" debug;&lt;BR /&gt;
       &lt;BR /&gt;
data test;&lt;BR /&gt;
   infile connect length=len;&lt;BR /&gt;
   input record $varying200. len;&lt;BR /&gt;
run;</description>
    <pubDate>Mon, 31 Jul 2006 19:10:57 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-07-31T19:10:57Z</dc:date>
    <item>
      <title>help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1130#M1543</link>
      <description>I'm a newbie to the forum and a novice at SAS programming. &lt;BR /&gt;
&lt;BR /&gt;
Problem:&lt;BR /&gt;
All I need is to read in the html source code from any given website into SAS. My problem is connecting to the internet. I'm sure there is some way to do this. I currently only have release 8.02. Is that at problem?  I've tried many different infiles but nothing is working.&lt;BR /&gt;
&lt;BR /&gt;
If anyone out there could help that would be a great help. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
JPI</description>
      <pubDate>Tue, 25 Jul 2006 16:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1130#M1543</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-07-25T16:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1131#M1544</link>
      <description>Hi:&lt;BR /&gt;
  This is not really a stored process question. You could look in the documentation for information about the URL or HTTP access method on the FILENAME statement. Several of these access methods are described in these links to papers and the doc: [pre]http://support.sas.com/software/91x/lrdictwhatsnew900.htm&lt;BR /&gt;
&lt;A href="http://www.bassettconsulting.com/P6-27-01.pdf" target="_blank"&gt;http://www.bassettconsulting.com/P6-27-01.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi30/100-30.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi30/100-30.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi28/073-28.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi28/073-28.pdf&lt;/A&gt;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
These papers talk about different reasons and methods to read HTML pages with SAS. However, being able to read "ANY" website into SAS sounds like a technique called "screen-scraping" that we used to use when we didn't want to recode CICS screens. So we ran a product to scrape the information from a CICS data entry screen or information screen and use it elsewhere in our program. (My dim memory of this is that it was an enormous pain to scrape the info and use the scraped info correctly.)&lt;BR /&gt;
&lt;BR /&gt;
  Your best bet might be to talk to Tech Support and explain to them exactly what you need to do and they can help you find the best method to accomplish your task.&lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 25 Jul 2006 17:43:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1131#M1544</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-07-25T17:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1132#M1545</link>
      <description>thanks. &lt;BR /&gt;
&lt;BR /&gt;
where in this forum can I ask general questions about SAS programming.&lt;BR /&gt;
&lt;BR /&gt;
jpi</description>
      <pubDate>Tue, 25 Jul 2006 19:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1132#M1545</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-07-25T19:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1133#M1546</link>
      <description>SAS Institute does not have a forum for general SAS questions.  If you would like to make suggestions for new forums, please send your comments to suggest@sas.com&lt;BR /&gt;
&lt;BR /&gt;
There is a mailing list called "SAS-L" that is run by SAS customers.  It is not affiliated in any way with SAS Institute.&lt;BR /&gt;
&lt;BR /&gt;
You can find out more about SAS-L at:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.listserv.uga.edu/archives/sas-l.html" target="_blank"&gt;http://www.listserv.uga.edu/archives/sas-l.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Thu, 27 Jul 2006 15:39:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1133#M1546</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2006-07-27T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1134#M1547</link>
      <description>I sent an email to request more forum topics. &lt;BR /&gt;
Here is the code that I use. It works but it takes 1-5 minutes for one URL. I would like to shorten the time so it can read the data in seconds. &lt;BR /&gt;
&lt;BR /&gt;
How can I modify this code to shorten the time. Is there a faster way? Is it slow because we don't have enough bandwidth or is more of a problem with my code? Maybe it takes so long because of security barriers? What do the experts think. Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
JPI&lt;BR /&gt;
&lt;BR /&gt;
CODE:&lt;BR /&gt;
filename connect url &lt;BR /&gt;
    "http://www.whitepages.com:80/10001/search/FindPersonfirstname_begins_with=1&amp;amp;firstname=Jared&amp;amp;name=Pratt&amp;amp;city_zip=&amp;amp;state_id=UT" debug;&lt;BR /&gt;
       &lt;BR /&gt;
data test;&lt;BR /&gt;
   infile connect length=len;&lt;BR /&gt;
   input record $varying200. len;&lt;BR /&gt;
run;</description>
      <pubDate>Mon, 31 Jul 2006 19:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1134#M1547</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-07-31T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: help: read html source code</title>
      <link>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1135#M1548</link>
      <description>I ran a similar request to this server, and SAS reported that it took 1.06 seconds of real time.  The problem may be network-related at your site.&lt;BR /&gt;
&lt;BR /&gt;
Vince DelGobbo&lt;BR /&gt;
SAS R&amp;amp;D</description>
      <pubDate>Thu, 24 Aug 2006 15:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/help-read-html-source-code/m-p/1135#M1548</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2006-08-24T15:12:01Z</dc:date>
    </item>
  </channel>
</rss>

