Date: Thu, 28 Aug 2003 14:39:40 -0700
Reply-To: c-jeff.voeller@mci.com
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jeff Voeller <c-jeff.voeller@MCI.COM>
Subject: URL Access Method Problem
Content-Type: text/plain; charset=iso-8859-1
I can usually successfully read web pages into SAS via FILENAME with
URL, but I'm currently having trouble with a specific one. Running 8.2
under z/OS, both interactively and in batch, this FILENAME statement:
filename ciccodes url
'http://www.nanpa.com:80/number_resource_info/carrier_id_codes.html'
debug;
results in these DEBUG messages:
NOTE: >>> GET /number_resource_info/carrier_id_codes.html HTTP/1.0
NOTE: >>> Accept: */*.
NOTE: >>> Authorization: Basic
NOTE: >>> Accept-Language: en
NOTE: >>> Accept-Charset: iso-8859-1,*,utf-8
NOTE: >>> User-Agent: SAS/URL
NOTE: >>>
NOTE: <<< HTTP/1.1 404 Not Found
NOTE: <<< Date: Thu, 28 Aug 2003 21:16:53 GMT:
NOTE: <<< Server: Apache/1.3.26 (Unix) mod_jk:
NOTE: <<< Connection: close:
NOTE: <<< Content-Type: text/html; charset=iso-8859-1:
NOTE: <<< :
If I paste exactly the same URL into a browser, the page comes up with
no trouble at all. Any ideas?
Thanks,
Jeff
|