LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 13 Mar 2003 16:57:00 -0800
Reply-To:     cassell.david@EPAMAIL.EPA.GOV
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "David L. Cassell" <cassell.david@EPAMAIL.EPA.GOV>
Subject:      Re: Is it possible to read the results if a web query into a SAS
              dataset?
Content-type: text/plain; charset=us-ascii

Matt Flynn <matt.flynn@THEHARTFORD.COM> wrote: > Is it possible to read the results if a web query into a SAS dataset? > > I can read static web pages easily with a "filename url" command. But I am > a bit stumped on how to read dynamically generated pages. > > In M$ Excel, as web query (.igy) to a ASP generated page returns data > handily. Has anyone examples, tips, or suggestions to share on how to > accomplish this with SAS?

I suggest you use an intermediate program to snag the webpage, and then pipe that into SAS. You could use webget, or lynx (a web browser with a command-line interface). I prefer Perl. Try using the LWP::Simple module to snag the webpage. If that isn't enough support, check out the LWP::UserAgent module instead.

HTH, David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


Back to: Top of message | Previous page | Main SAS-L page