NetBatch Manual
Commands
NetBatch Manual—522460-004
6-180
STOP JOB Command
STOP JOB Command
Use the STOP JOB command to stop executing, over-limit, or suspended jobs. The
command does not stop processes dissociated from a job by the TACL RUN command
option JOBID or by the JOBID-ZERO job attribute.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
job-ID
specifies a job name or number, or a range of job names. To specify a range of job
names, use the asterisk (*) and question mark (?) wild-card characters. An asterisk
on its own specifies all jobs.
NOT
excludes jobs that satisfy the specified job-selection criterion.
filter
specifies one of these job-selection criteria (see STATUS JOB Command on
page 6-165):
A[TTACHMENT]-S[ET] [ [ ( user-ID ) ] attachment-set-ID
#CURRENT ]
CL[ASS] class-ID
IN file-ID
STATE state
U[SER] user-ID
WAITO[N] master-job
Considerations
•
The STOP JOB command is available to all users, but these conditions apply:
•
NetBatch supervisors can stop jobs belonging to any user.
•
Users who are not NetBatch supervisors can stop any job whose input file is a disk
file to which they have write access. If the input file does not exist or is a device or
process, only the owner and NetBatch supervisors can stop the job.
If you are not a NetBatch supervisor, a STOP JOB command that specifies job-
ID with wild-card characters stops only your own jobs.
STO[P] [ JOB ] [ / OU[T] [ file-name ] / ] { job-ID }
{ ( [ [NOT] job-ID , ]… [NOT] filter [ , [NOT] filter ]… )}