NetBatch Manual
Commands
NetBatch Manual—522460-004
6-85
DELETE JOB Command
CL[ASS] class-ID
IN file-ID
STATE state
U[SER] user-ID
WAITO[N] master-job
Considerations
•
The DELETE JOB command is available to all users, but these conditions apply:
°
NetBatch supervisors can delete jobs belonging to any user.
°
Users who are not NetBatch supervisors can delete 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 delete the
job.
°
If you are not a NetBatch supervisor, a DELETE JOB command that specifies
job-ID with wild-card characters deletes only your own jobs.
To delete another user’s job if you have write access to its input file, specify the
job’s full name or number in job-ID.
•
The DELETE JOB command deletes jobs whose state is EVENT, READY,
RUNNEXT, RUNNOW, SPECIAL- n, TAPE, or TIME. The command does not
delete jobs whose state is EXECUTING, OVER LIMIT, or SUSPENDED. (For
information about stopping and deleting an executing, over-limit, or suspended job,
see STOP JOB Command on page 6-180.)
•
You can omit the object keyword JOB from the DELETE JOB command only when
JOB is the current assumed object. For more information, see ASSUME JOB
Command on page 6-72.
Examples
•
This example shows the effect of a DELETE JOB * command entered by user
205,70:
1} CHANGEUSER 205,70 password
1} STATUS JOB *
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- --------------
181 DEVELOPMENT 255,255 1398 4:Start err DVLPMNT
184 TOTALS 255,205 EVENT STANDARD-CLASS
186 TEST 205,100 1401 9:STALL STANDARD-CLASS
187 CLEANUP 205,100 1411 3:NEWP. err STANDARD-CLASS
188 CAL-JOB-1 205,70 7:CAL error STANDARD-CLASS
189 USERS 205,70 READY DEFAULT
190 BACKUP 8,255 TAPE STANDARD-CLASS
192 ACCOUNTS 8,1 1405 5:Fail RsOn STANDARD-CLASS
193 ADMIN 133,2 1407 6:Fail RsOffSTANDARD-CLASS
194 CAL-JOB-2 205,70 8:CAL exprd STANDARD-CLASS
195 STATISTICS 255,8 1409 2:NB failed STANDARD-CLASS