in reply to Re: How do i interact with a ibm 3270 mainframe?
in thread How do i interact with a ibm 3270 mainframe?
Thx a lot for the support, i can telnet to the IBM mainframe; i went through links and ended up with the following code:
use IO::Socket; my $sock = IO::Socket::INET->new( Proto => 'TCP', PeerAddr => '161.196.25.2', PeerPort => '23', ) or die "Unable to create socket: $!\n"; #while ( <$sock> ) { print } @line=<$sock>; print @line;
Unfortunately, as i run this pl, the machine just "hang up", till CTRL+C is pressed.
Any examples using Net::elnet, Expect ?
.Regards.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How do i interact with a ibm 3270 mainframe?
by keszler (Priest) on Dec 16, 2009 at 03:56 UTC |