On Tue, 13 Sep 2005 13:49:00 +0800,
Bo Xie <[EMAIL PROTECTED]> wrote:
>I find IBM PCOM ( a TELNET3270 client) will disconnect automatically
>if I let it be idle for more than 1 hour. But I am running a
>time-consuming program which costs 2 hours. I mean whether it is
>possible to let IBM PCOM do NOT disconnect for more than 2 hours. I
>know some telnet client (e.g. putty) can send "keep-alive" message to
>telnet server every 120 seconds to keep it alive.
Whether its JWT, a telnet server parameter, or some other configuration
issue that may not be under your control, an easy solution would be to
write a PCOMM macro that simply simulates pressing the [Enter] key (or
whatever key would be appropriate for your host application). Such a macro
could be written in 10 or so lines of VBScript code. (Basically, a loop
that sends the key to the host and then sleeps for an appropriate amount
of time.)
Eric
--
Eric Chevalier E-mail: [EMAIL PROTECTED]
Web: www.tulsagrammer.com
Is that call really worth your child's life? HANG UP AND DRIVE!
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html