NetBatch Manual
Commands
NetBatch Manual—522460-004
6-84
DELETE JOB Command
•
This example shows the deletion of an executor in use by a job. The scheduler
allows the job to finish before deleting the executor. Note the change in executor
state from ACTIVE to DELETE.
7} STATUS EXECUTOR FAST-JOBS
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ---- --------------------
FAST-JOBS 0 ACTIVE 105 INQUIRIES
8} DELETE EXECUTOR FAST-JOBS
Executor FAST-JOBS deleted
9} STATUS EXECUTOR FAST-JOBS
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ---- --------------------
FAST-JOBS 0 DELETE 105 INQUIRIES
10} STATUS EXECUTOR FAST-JOBS
2087-E EXECUTOR FAST-JOBS does not exist
DELETE JOB Command
Use the DELETE JOB command to delete jobs that are not executing, over limit, or
suspended.
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 ]
D[ELETE] [ JOB ] [ / OU[T] [ file-name ] / ]
{ job-ID }
{ ( [ [NOT] job-ID ,]… [NOT] filter [ , [NOT] filter ]…)}