I replaced our proprietary loations with the words DUMMY_URL and DUMMY. FILENAME JUNK URL 'http://DUMMY_URL/DUMMY_URL/ENCRYPTEDURL..' DEBUG LRECL=8192 proxy='http://proxy.DUMMY.com'; DATA GETD; INFILE JUNK LENGTH=LEN; INPUT RECORD $VARYING8192. LEN; PUT RECORD $VARYING8192. LEN; RUN; ENDSAS; The .. at the END Of the URL is part of the encryption schema that our web server uses. When I paste the real URL into my browser with the .. at the end, it works, when I leave the .. off, it gives a 403 Error. When I look at this in my SAS log (and in the SAS program) when you click on the link, it opens a browser without the .. on the end and the result is a 403 Error. Here is an example of the same type of program that actually does work: filename fetch url 'http://www.textfiles.com/100/actung.hum' DEBUG lrecl=8192; data pgcnt; infile fetch length=len; input record $varying8192. len; page=1; RUN; PROC PRINT DATA=PGCNT; RUN; ENDSAS; This is the output of the program that does work: DEBUG INFO: NOTE: >>> GET http://www.textfiles.com/100/actung.hum HTTP/1.0 NOTE: >>> Accept: */*. NOTE: >>> Accept-Language: en NOTE: >>> Accept-Charset: iso-8859-1,*,utf-8 NOTE: >>> User-Agent: SAS/URL NOTE: >>> NOTE: <<< HTTP/1.1 200 OK NOTE: <<< Date: Thu, 23 Feb 2012 19:33:10 GMT. NOTE: <<< Server: Apache/1.3.42 (Unix). NOTE: <<< Last-Modified: Sun, 01 Aug 1999 17:20:50 GMT. DATA READ IN FROM THE WEB PAGE: 3----+----4----+----5----+----6----+----7----+----8----+----9----+- OBS record 1 ...ACHTUNG! 2 ...-------- 3 Das machine is nicht fur gerfingerpoken und mittengrabben. 4 Ist easy schnappen der Sprinngwerk, blowenfusen und 5 . poppencorken mit spitzensparken. 6 Ist nicht fur gewerken by das Dummkopfen. Das rubbernecken 7 . sightseeren keepen hands in das Pockets. 8 . Relaxen und watch das blinkenlights... 9 ********************* Bottom of Data ****************************** I am running SAS 9.2 on IBM Mainframe running ZOS. Any help here is appreciated, thanks, Tyler
... View more