Re: How to shutdown MVS if sys Console is disconnected

"Juergen" <[email protected]> Sat, 30 Oct 2010 08:21:34 -0000
Newsgroups gmane.comp.emulators.turnkey-mvs
Message-ID <[email protected]>

--- In [email protected], "nsrivastava3@..."
<nsrivastava3@...> wrote:
>
> Dear All,
>
> I am very new to Hercules and Turnkey MVS. After reading through
manuals and helps on internet I could finally get my Turnkey MVS working
on my machine.
>
> The problem I am facing is, if even by mistake I disconnect the sys
console window of Turnkey MVS, I am left with just Hercules running and
no interface with MVS so that I can properly shut it down.
>
> Can you please let me know if there is any way to get back the sys
console window OR properly shutdown MVS without sys Console.
>
> (I may be sounding an idiot, but I don't know where to ask the
question but here)
>
> Regards,
>
> A new MVS fan
>
The easy way, if your console session simply got disconnected, but the
console is still online and active from MVS's point of view:

    1. Connect a tn3270 session to the console address (in a Turnkey MVS
system this would be 010 or 011)    2. Press the RESET key    3. Press
the CLEAR key    4. Press the ENTER key

If this sequence doesn't work, the console probably experienced I/O
errors and might have been deactivated and/or taken offline by MVS. To
recover it in this case do the following:

    1. Disconnect any previously connected "dead" tn3270 console session
from Hercules    2. Connect a tn3270 session to the console address (in
a Turnkey MVS system this would be 010 or 011). You should see the
Hercules logo screen now. Verify that you connected to the correct
address, which is displayed as "Device number : 0xxx" on the Hercules
logo screen.    3. Logon to TSO on a separate tn3270 session with a user
sufficiently authorized to issue MVS commands (IBMUSER would do  [:)] )
4. Enter IM to start Greg Price's interactive monitoring program    5.
Enter menu option O (OS console monitor)    6. Enter
/v xxx,online
(where xxx is the console address) and press ENTER.    7. Enter
/v xxx,console,auth=all
and press ENTER.    8. The console should now be working, if not -->
You're probably out of luck  [:(]     9. Terminate IM on the TSO session
by pressing PF3 twice.

Hope that helps...