Screen scraping a 3270 terminal?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Jan 9 18:46:09 UTC 2008


On Wed, Jan 09, 2008 at 12:50:44PM -0500, Aaron Vegh wrote:
> I have a client who wants me to scrape information from a number of
> web-located resources (they're all internal to their network). That's
> doable, but among the resources are two 3270 terminal sessions that
> have to be logged into, navigated through and then scraped.
> 
> My normal procedure is to use curl to snatch and parse HTML from a
> site, and it will suffice for the rest of the job. But how does one
> programmatically parse through an old green screen application?

expect works well for interactive text thingies.

> I found a vendor called Jagacy (jagacy.com) that provides a Java-based
> solution, but it seems to be GUI based... and I'm not that good with
> Java anyway.
> 
> Any other thoughts would be appreciated.

There is also a program called s3270 which allows scripted connections
to a 3270 interface.

--
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list