Rexx dialin program

Rodney R. Korte (rrk102@psu.edu)
Thu, 10 Apr 97 10:08:46 -0400


I thought that this may be of interest to some people. Even if
you can't use it directly, it may provide some ideas if you are in
need of something like it.

What is it? It is a REXX program that watches the output of DESCHAL
(which has been redirected to a log file) for an error message
indicating that it is finished with a set of keys and can't talk
to the server because the network is down. It calls "whatever
program" to establish a network connection. When DESCHAL starts
calculating again, the program kills the network connection.

Typically, you'd want to do this if you are on a dial-up connection.

This program was written for OS/2, but I'm sure you could easily
port it to some other REXX implementation, or maybe even a shell
script.

Please let me know if you use it and find that there is something
very wrong with it, or you don't understand what I've done (which
wouldn't surprise me- it may not be so clear). It has performed
flawlessly for me.

Rod

--
Rodney R. Korte                   OS/2. Operate at a higher level.
korte@sabine.acs.psu.edu    ---> MIME, PGP (finger for key) welcome.
http://sharkbait.arl.psu.edu/