Date: Thu, 19 Jun 2003 22:20:50 GMT
Reply-To: ssander87 <ssander87@hotmail.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: ssander87 <ssander87@HOTMAIL.COM>
Organization: AT&T Broadband
Subject: Re: Filename URL Question
Ensure that your SERVICES file contains a line like the following:
httpd 80/tcp www www-http #World Wide Web
i.e. SAS v8.2 needs a well-known port definition in the SERVICES file for
"httpd" for URL filename
Bear in mind that you'll need to parse the HTML, skipping over <script>,
<table>, <tr>, <td> tags, etc.
"Gerry Pauline" <GPauline@FSMAIL.PACE.EDU> wrote in message
news:3EF2327B.FD1B07E1@FSmail.Pace.Edu...
> SAS Pros:
>
> Can the Filename URL facility capture data from a dynamically generated
> page ? I was trying the following:
>
> Filename Metals URL 'http://lme.co.uk/data_prices/daily_prices.asp' ;
>
> Data METALS ;
> Infile METALS ;
> Input DL $Char100. ;
> Run ;
>
> Proc PRINT Data=METALS ;
> Title 'Metals' ;
> Run ;
>
> But we receive this error:
>
> ERROR: Service httpd not found.
> NOTE: The SAS System stopped processing this step because of errors.
> NOTE: SAS set option OBS=0 and will continue to check statements. This
> WARNING: The data set WORK.METALS may be incomplete.
>
> When we go to the page with a browser, it is displayed without a
> problem.
>
> We are using SAS v8.2.
>
> Thank you.
>
> -Gerry
>
> Gerard T. Pauline
> Mgr, Internet Applications &
> University Web Master
> Computer Systems, DoIT
> Pace University
|