I never tried FORCE as a default because I thought it would kill all spool files.?
Of course VM/CE has a modification to set the default response to that prompt.? It defauls to WARM, but a change to DMKSYS would change it to FORCE.? Losing spool files is not desirable.
On Mon, Jul 15, 2024, 11:06 Dave Wade via <dave.g4ugm=[email protected]> wrote:
Bertram,
Well the vandal in me says why not just add a "/FORCE" into
hercules.rc before the "/enable all". VM should still start, the
force will produce a "missing user-id" error if the spool is OK,
but if its not it should cause a normal restart.
Dave
On 15/07/2024 16:41, Bertram Moshier
via wrote:
Hello again,
THe character you are? thinking of is a slash
(e.g. .CKPT, /CP Q N, /CP SHUTDOWN, etc.).
Yes, I'm hpping a script could "see" and "input"
on 009 should Windows restart.
Bert
On Mon, Jul 15, 2024, 10:32
Matthew T. Kromer via <zerohero0h=[email protected]>
wrote:
After Hercules startup you¡¯d have to launch
a script that connected to port 3270 in line mode as
device 009.? Then you¡¯d have to read/write to the console
port ala expect scripts.? Probably not super hard even if
you have to deal with character translation to EBCDIC.?
I thought at one time you could get an embedded 3215
console at the Hercules prompt so you could use the
Hercules programmable operator to reply (didn¡¯t it use a
period to prefix input to the guest?)
I¡¯m running ESA so I¡¯m less sure about VM/CE.
On Jul 15, 2024, at
11:22?AM, Bertram Moshier via
<herc370390vm=[email protected]>
wrote:
?
Hello,?
Thank you for your response.?
I just looked, and 009 is a 3215 in DMKRIO
(RDEVICE is 004,7 and set to 3215).
I'm not following your thught
as this need to be an unattended solution.
I thought Hercules could run
REXX programs, but can a REXX program "see"
the output on the OS it is running and
programmatically respond?
Bertram Moshier
On Mon,
Jul 15, 2024, 10:07 Matthew T. Kromer via
<zerohero0h=[email protected]>
wrote:
It might work if you could
get the operator console in 3215 mode.
You¡¯d have to script it with a program
connected to the 3270 port as a line
mode console.? I don¡¯t know if CE can be
generated with a 3215 primary console¡?
On Jul 15,
2024, at 10:18?AM, Bertram Moshier
via
<herc370390vm=[email protected]>
wrote:
?
Hello,
I am looking for a method (Rexx
script in Hercules?) to start
VM/CE in an unattended mode.
Unfirtunately, Windows will
restart on its own not
respecting that Hercules and
VM/CE are runnung.
The situation is I am making my
system available to friends
around the world, They will be
using WC3270 (or similar) to
connect and log into their
account(s) on my VM/CE system.
The problem is Windows restarts
without giving Hercules and its
operating systems a chance to
shutdown properly. I don't want
to have my friends waiting till
I come and type in the spool
file disposition (e.g., CKPT,
COLD, FORCE,etc.).
I'm wondering is it possible to
have REXX in Hercules handle
this situation? (Look at VM's
message and input a response
till VM starts.) If yes, how?