If your application hangs, try the following procedure to kill
it:
- On the command line, enter <EscChar-V> (or <EscChar-C>). When this
is successful, the shell prompt is displayed.
- If step 1 does not work, enter the OPEN or NEXTSESS subcommand
to start or switch to a second shell session. In the second shell
session, determine the process identifier (PID) of the hung application
by entering ps -ef.
Then enter kill -s
KILL nnnnnn, where nnnnnn is
the PID obtained from the ps -ef command.
After the kill command completes, you can
return to the first session using the NEXTSESS or PREVSESS subcommand.
- If step 2 does not work, enter the QUIT subcommand, or QUITALL
if more than one session is active. This should free your TSO/E terminal,
and you can then enter the OMVS command
to start another session. The application may still be hung; if so,
you need to use the kill command.
- If step 3 does not work, ask the operator to cancel your TSO/E
user ID, using the CANCEL command. The operator may also need to
use the FORCE command.
- If step 4 does not work, try a VTAM® logoff
(using the <SYSREQ> key), and wait long enough for MVS™ to end your session before you try to log
on again.