NM and CM callable.
Enables a program to abort a specified job or session from the system.
Operation Notes |
 |
All resources held by the aborted job/session are released,
and any I/O activity is terminated. Although the job/session
is abnormally terminated, the operating system issues log records and updates
CPU and connect times. The following message is
displayed on the job/session list device:
SESSION ABORTED BY SYSTEM MANAGEMENT
|
ABORTSESS can be applied to waiting or scheduled jobs, or
executing jobs or sessions. If the spooler input file
($STDIN) for a batch job has been created and has not yet been
opened, the entire file is deleted. If ABORTSESS is issued
before the output spoolfile is complete, only that portion
of the file already opened is printed and an error
message is issued indicating that the job was aborted.
ABORTSESS can be successfully called only if the program is
executing in a job/session that satisfies at least one of the
following conditions:
The job/session is on the system console.
The job/session was allowed the ABORTJOB command.
JOBSECURITY is set to LOW and the user and account
names of the job/session are the same as the user and account
names of the job/session being aborted.
JOBSECURITY is set to LOW and the job/session has
account manager (AM) capability, and the account name of the
job/session is the same as the account name of the job/session
being aborted.
JOBSECURITY is set to LOW and the job/session
has system manager (SM) capability.