Re: 3270 connection via perl



On Thu, May 29, 2008 at 4:58 PM, Ken Foskey <foskey@xxxxxxxxxx> wrote:
On Thu, 2008-05-29 at 15:23 -0500, jm wrote:
does anyone have a sample script for a 3270 connection via perl?
i've read all i can find for the x3270, x3270-script, c3270, etc. but
i can't quite wrap my head around how the scripting should work. i've
done telnet connections with Net::telnet so i am familiar with the
basics but i can't find anything as 'straightforward' for 3270
connectivity.

thanks for any and all help,
joe

I assume you have http://search.cpan.org/

A couple of suggestions:

There is openmvs which is a unix shell. This might give you the
ability to script then push the data down to the server.

There is the ability to run web applications on MVS so this might be an
easier option.

You could connect via LU6.2 and have a conversation rather than trying
to scrape screens. I don't know how, just giving you something to think
about and ask about.

Can you remotely connect to the database and avoid the applications?


Ken



thanks. i did go through cpan, the URI module was the only thing that
referenced 3270 connectivity, but it didn't appear to be anywhere near
what i need. i'll look into openmvs but was really hoping to find
something i could use as an integral part of a perl script so i could
gather and forward the desired data seamlessly.

unfortunately, i can't connect to the data backend; has to be through
a 3270 frontend.

thanks for the suggestions.
joe



--
since this is a gmail account, please verify the mailing list is
included in the reply to addresses


Relevant Pages

  • Re: Serial comm program
    ... > to a router console via a serial port. ... (Serial connectivity and network connectivity are different ... Have your .bash_profile always start 'script'. ... either through minicom config or directly on the ...
    (Debian-User)
  • telnet in script.
    ... I'm trying to put together a little script to test TCP connectivity to a ... $ telnet 10.11.12.13 4567 ... But how do I put this into a script? ... If you are not the intended recipient be aware that any ...
    (SunManagers)
  • Re: Trouble with Net::Ping
    ... Approximate round trip times in milli-seconds: ... Ping command output at the time the script is executed. ... for automating checking connectivity (in the context of handling ... running Linux. ...
    (comp.lang.perl.misc)
  • custom shell script .. OT maybe .
    ... well i want to make a simple/wieard shell script:) ... connection with the internet & rename some file files ... connectivity with the internet, ...
    (freebsd-questions)
  • ANN: Python Paste 0.4
    ... core, Script, Deploy, and WebKit. ... Paste is a set of tools for building web applications and frameworks ... Paste Deploy is a way to configure WSGI applications and application ...
    (comp.lang.python.announce)