NetBatch Manual
Commands
NetBatch Manual—522460-004
6-191
SUSPEND JOB Command
Considerations
•
The SUSPEND JOB command is available to all users, but these conditions apply:
°
NetBatch supervisors can suspend jobs belonging to any user.
°
Users who are not NetBatch supervisors can suspend 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 suspend
the job.
If you are not a NetBatch supervisor, a SUSPEND JOB command that
specifies job-ID with wild-card characters suspends only your own jobs. To
suspend another user’s job if you have write access to its input file, specify the
job’s full name or number in job-ID.
•
Suspended processes associated with a job cannot execute instructions until you
reactivate the job by using the ACTIVATE JOB command.
•
A suspended job whose attributes include EVERY accumulates a run backlog if
suspended for longer than the EVERY interval and the scheduler has the attribute
CATCHUP ON. When you reactivate the job, it runs repeatedly until the backlog
clears. For more information about run backlogs (including how to prevent them
from running), see ACTIVATE JOB Command on page 6-32.
•
A suspended job whose attributes include CALENDAR does not accumulate a run
backlog while suspended. When you reactivate the job, it finishes executing but
does not run again until the next future CALENDAR time.
•
The executor in use by a suspended job is not available for use by other jobs while
the job remains suspended. To release the executor for use by other jobs, do one
of:
°
Reactivate the suspended job by using the ACTIVATE JOB command. The
scheduler releases the executor when the job finishes executing.
°
Stop the suspended processes of the job by using the STOP JOB command.
The scheduler reschedules the job if it is recurrent or delete the job if
nonrecurrent. (To prevent deletion of the job, set the job’s HOLDAFTER
attribute to ON before using the STOP JOB command.)
•
You can omit the object keyword JOB from the SUSPEND JOB command only
when JOB is the current assumed object. For more information, see ASSUME JOB
Command on page 6-72.