Ruby and 3270 terminal emulation

Hi all,

Are there any 3270 screen scraping libraries out there for Ruby? And
do you have any suggestions on how to write one?

Regards,

Dan

Some time ago when I needed to support 3270, I ended up using s3270 from http://x3270.bgp.nu/ -- this provides a scripting access to 3270 protocol. You send 3270 requests to its standard input and it spits info and screen dumps to the standard output. In my TSC-ACT project at TSC Acceptance Testing Framework (TACT) download | SourceForge.net I have 3270 integration via s3270, however there's no official release yet (no easy installation and documentation yet). You can see an example of how I interact with s3270 via IO::popen() in here: TSC Acceptance Testing Framework (TACT) download | SourceForge.net

Please contact me off-list if you are interested in more details.

Gennady.

···

-----Original Message-----
From: Daniel Berger [mailto:djberg96@gmail.com]
Sent: Friday, March 21, 2008 11:17 AM
To: ruby-talk ML
Subject: Ruby and 3270 terminal emulation

Hi all,

Are there any 3270 screen scraping libraries out there for Ruby? And
do you have any suggestions on how to write one?

IBM 3270 - Wikipedia

Regards,

Dan

If your emulator is Attachmate Extra, it has a built in
macro language that can read the screen and type in
data. This language can be invoked from Ruby or from
the DOS-prompt with the command "ebrun".

···

On Mar 21, 12:16 pm, Daniel Berger <djber...@gmail.com> wrote:

Hi all,

Are there any 3270 screen scraping libraries out there for Ruby? And
do you have any suggestions on how to write one?

http://en.wikipedia.org/wiki/3270

Regards,

Dan

Back in my mainframe days, I used the HLLAPI (aka WHLLPAI, aka
HLLAPI32) interface of the terminal emulators to interact with the
mainframe. Worked beautifully...

If you're interested, I'm willing to extract the low-level code from
my old projects.

gegroet,
Erik V. - http://www.erikveen.dds.nl/

Thank you for this. I will definitely take a look.

Dan

···

On Mar 21, 7:14 pm, Gennady Bystritsky <Gennady.Bystrit...@quest.com> wrote:

Some time ago when I needed to support 3270, I ended up using s3270 fromhttp://x3270.bgp.nu/-- this provides a scripting access to 3270 protocol. You send 3270 requests to its standard input and it spits info and screen dumps to the standard output. In my TSC-ACT project athttp://sourceforge.net/projects/tsc-actI have 3270 integration via s3270, however there's no official release yet (no easy installation and documentation yet). You can see an example of how I interact with s3270 via IO::popen() in here:TSC Acceptance Testing Framework (TACT) download | SourceForge.net.

Please contact me off-list if you are interested in more details.

Gennady.

Ah yes! HLLAPI days :wink:

Regards,
Sean

···

On Sat, Mar 22, 2008 at 10:42 AM, Erik Veenstra <erikveen@gmail.com> wrote:

Back in my mainframe days, I used the HLLAPI (aka WHLLPAI, aka
HLLAPI32) interface of the terminal emulators to interact with the
mainframe. Worked beautifully...