Use the rmjob
command to remove jobs. Removing a job has the effect of canceling it and deleting all record of its existence as well as of the existence of its subordinate jobs. You can remove a job only if it is not running. After removing a job, you can no longer view its status.
See Also:
"Job Commands" for related commandsIf you are attempting to remove another user's jobs, then you must have the right to modify any job, regardless of its owner. If you are attempting to remove your own jobs, then you must have the right to modify any jobs owned by user.
rmj•ob [ --nq ] [ --keepxcr/-k ] [ --quiet/-q | --verbose/-v ] job-id ...
Does not display a confirmation message. If you do not specify this option, then the command displays a confirmation message. The message is described in "Command Execution in Interactive Mode".
Keeps the job transcript. The default is to delete the transcript of the job.
Removes the job quietly.
Displays verbose output about the job removal.
Specifies the job IDs of the jobs that you want to remove.
Example 2-130 displays all active and pending jobs and removes them.