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?
Thank you,
Bertram Moshier WB8ERT
?
|
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¡?
toggle quoted message
Show quoted text
On Jul 15, 2024, at 10:18?AM, Bertram Moshier via groups.io <herc370390vm@...> 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?
Thank you,
Bertram Moshier WB8ERT
?
|
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
toggle quoted message
Show quoted text
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?
Thank you,
Bertram Moshier WB8ERT
?
|
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.
toggle quoted message
Show quoted text
On Jul 15, 2024, at 11:22?AM, Bertram Moshier via groups.io <herc370390vm@...> 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?
Thank you,
Bertram Moshier WB8ERT
?
|
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
toggle quoted message
Show quoted text
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?
Thank you,
Bertram Moshier WB8ERT
?
|
Why not run a PRO version of windows where you can schedule
updates?
Or set up a group policy task to close Hercules before a re-boot.
You can perhaps use the web interface and WGET to post Hercules
commands.
I would really want to know if Hercules has closed un-cleanly...
.. and I don?t think you can?t use the automatic operator as it
only responds to Hercules messages.
Dave
On 15/07/2024 16:32, Matthew T. Kromer
via groups.io wrote:
toggle quoted message
Show quoted text
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.
?
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?
Thank you,
Bertram Moshier
WB8ERT
?
|
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 groups.io wrote:
toggle quoted message
Show quoted text
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?
Thank you,
Bertram Moshier
WB8ERT
?
|
Hello Dave,
I am running Window 10 Pro and Windows 11 Pro.? As for scheduoing updates, I thought it was something you had to keep up with (changing the dates every s often as you can only delay for a few weeks at a time).
As for group policies, I'm unfamiliar with what one can do with it, how, or etc.
I tried once via group policy to stop 24H2 from applying, but totally lost in?the process.? I don't want Windows 11 24H2 because my taskbar is on the right.? I love it there because it takes up less screen space when vertical than horizonal.? Screen space (to me) is precious space.
As for using a web solution, again automated.? My hope is to put this Windows system in a "closet" and just connect to our? VM mainframe.
On the group policy to close Hercules, how would this work in Hercules?? Would it know to shutdown VM/CE when getting the close message?? ?It wouldn't be just closing Hercules, but also shutting the operating system running on Hercules.
Bertram Moshier
toggle quoted message
Show quoted text
Why not run a PRO version of windows where you can schedule
updates?
Or set up a group policy task to close Hercules before a re-boot.
You can perhaps use the web interface and WGET to post Hercules
commands.
I would really want to know if Hercules has closed un-cleanly...
.. and I don?t think you can?t use the automatic operator as it
only responds to Hercules messages.
Dave
On 15/07/2024 16:32, Matthew T. Kromer
via 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.
?
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?
Thank you,
Bertram Moshier
WB8ERT
?
|
Another approach is to leverage Windows directly. ? Using ooRexx you could control windows e.g. via OLE.
? You would have to find the correct window and to read the contents. Then send the appropriate message. ? Best regards Mike ?
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> On Behalf Of Matthew T. Kromer Sent: Montag, 15. Juli 2024 17:07 To: [email protected] Subject: Re: [h390-vm] Is it possible to start VM/CE unattended?? 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 groups.io <herc370390vm@...> 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?
Thank you,
Bertram Moshier WB8ERT ?
|
Hello,
Thank you for your interesting reply.
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.
Bertram.
toggle quoted message
Show quoted text
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?
Thank you,
Bertram Moshier
WB8ERT
?
|
That's the neat thing. Force only gets used if warm fails, so by the time you get that far you have already lost the files....
Dave?
toggle quoted message
Show quoted text
On Mon, 15 Jul 2024, 18:16 Bertram Moshier via , <herc370390vm= [email protected]> wrote: Hello,
Thank you for your interesting reply.
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.
Bertram.
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?
Thank you,
Bertram Moshier
WB8ERT
?
|
Adrian Sutherland, of BREXX fame, has a tool he uses to automate Hercules when running under contributions of GitHub Actions.? He uses it to build BREXX under VM/CE CMS in a GitHub Linux instead, but on the surface, it looks like the technique would work in Windows too.
Ross
toggle quoted message
Show quoted text
On Mon, Jul 15, 2024 at 10:18 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?
Thank you,
Bertram Moshier WB8ERT
?
|
Sounds iteresting, I'll give it a try.
toggle quoted message
Show quoted text
On Mon, Jul 15, 2024, 16:03 Ross Patterson via <ross.patterson= [email protected]> wrote: Adrian Sutherland, of BREXX fame, has a tool he uses to automate Hercules when running under contributions of GitHub Actions.? He uses it to build BREXX under VM/CE CMS in a GitHub Linux instead, but on the surface, it looks like the technique would work in Windows too.
Ross On Mon, Jul 15, 2024 at 10:18 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?
Thank you,
Bertram Moshier WB8ERT
?
|
On Mon, Jul 15, 2024 at 09:18 AM, Bertram Moshier wrote:
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?
Moshix on Youtube has videos about numerous IT things. He also has systems, I believe some can log into, so he's got experience with this.
?
You could also explore, besides the other suggestions, use of DIAG8 in Hercules, as it allows some communication with the OS running on it, and the OS it runs on, if I remember correctly.
?
I sent you an invitation to a Discord group which has a bunch of old and new mainframers with all kinds of experience, which may prove useful. Anyone else wanting such an invitation, DM me. The invite expires 7 days after issuance.
?
Hercules Automated Operator (HAO) exists, and can invoke scripts based on Hercules messages it sees.
I'm not near my system, so this is all from memory. Forgive the errors.
?
?... Mark S.
|