Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone know of a 3270 API for perl?

Status
Not open for further replies.

blawson7

Programmer
Feb 16, 2009
3
US
I am currently working on a project that will allow our users to log into our website and click on a button that will in turn run a script (perl possibly?) that will interact with a remote 3270 mainframe and return the resulting data back to the webpage for the client to see.

Has anyone heard of a module or library for perl that Ican use for this?

Thanks!
 
Net::Expect should be able to interact with a 3270 terminal,

IIRC, 3270 are different from say DEC form screens, as they pass all the information, field labels, ansi color codes and the data, you may need to be careful not to overwrite the relevant potions of the screen.

In a DEC screen, tab moves to the next field, in 3270, it writes a tab at the current screen position. You'll also have to handle logging into the application.

Not a task I envy ... ;)

Is there any way of passing the data to a command line program on the 3270? Another possibility would be talking to a Windows box using Reflections for 3270, and reading the data back off that using Reflections Basic, not cheap though - might be cheaper then finding someone to write an appropriate CLI utility though

3270, I'm going to assume that's a bank, might I ask where, not who, you're working for ...

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Actually, it's not a bank. It's an insurance database. I am working in East Texas.

I will look into using Reflections and post any results.

Thanks!
 
This is all running on a windows box, by the way.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top