jeepj has asked for the wisdom of the Perl Monks concerning the following question:
the situation: I am working for a company using a mainframe system (3270 sessions), and for some massive correction activities, we have a server (Windows) with several IBM personnal communication terminal emulator. These terminals are driven by Perl scripts using the OLE interface (solution equivalent to the one described in Interact with mainframe screen).
The problem is that we want to launch several scripts in parallel, each one using 2 or mores terminals.
We have a limited number of terminals, and to avoid having to select in each scripts which terminals to use, I am thinking about a way to dispatch on demand the terminals to scripts.
My idea is to write a perl script, running as daemon, which task would be to dispatch available session ID on demand, and be informed by scripts when sessions are not used anymore (thus returned to the pool of available sessions).
my questions are:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Ressource dispatcher
by Corion (Patriarch) on Mar 05, 2008 at 13:20 UTC | |
|
Re: Ressource dispatcher
by pc88mxer (Vicar) on Mar 05, 2008 at 14:14 UTC | |
by jeepj (Scribe) on Mar 10, 2008 at 09:18 UTC |