From the console, you can stop, or abort, someone's session. Aborting a
session is an emergency measure. Usually, it is only one in a series of
steps taken to handle a specific situation. For example, aborting a session
is the last resort when you are troubleshooting a "hung" or unresponsive
terminal. And it is possible that you may need to abort someone's session
to shut down the computer, though this is less likely since an orderly shutdown
automatically aborts all jobs and sessions.
To display the user name |
 |
You need at least a user name and an account name
or session number to abort someone's session. If a user asks you to fix
a terminal, the user must give you a user name and account name.
To find the user and account name, enter:
You'll see something like the following information on your console:
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#S25 EXEC 20 20 MON 1:26P OPERATOR.SYS
#S24 EXEC 22 22 SUN 12:27P BOB.CAROLL
#S23 EXEC 24 24 SUN 9:06A JULIE.JONES
#S64 EXEC 23 23 SUN 2:30P MGR.PAYROLL
|
To abort a session |
 |
To abort a session, use the session number that you found with the
SHOWJOB command. For example, to abort MGR.PAYROLL
(who's session number is #S64), enter:
You should get a logoff message like the one below, although it may
take a few seconds.
14:45/#S64/32/LOGOFF ON LDEV #23
|
14:45 is the time when you entered ABORTJOB, #S64 is the
payroll manager's session, and 23 is the hung terminal.
On the payroll manager's terminal, the computer prints the message "SESSION ABORTED BY SYSTEM MANAGEMENT" and some other information.
To summarize the procedure, complete the five
steps listed below to abort a session on your computer when the need arises:
Enter SHOWJOB JOB=@S to find the session number.
Using that number, enter ABORTJOB #Snnn.
Look for a logoff message on the console.
Enter SHOWJOB #Snnn to make sure that there are "NO SUCH JOBS."
Complete steps 2 through 4 again if the job was not aborted on the first attempt.