This character-based interface command controls the time a job
is released in the job queue. It is an easy way to schedule a job that only
needs to run once. It allows you to use many of the job attributes defined
for your current job.
When you schedule a job to run only once (character-based command SBMJOB),
the job is released from the job queue at the scheduled time. The following
is a summary of the system tasks that occur when you use SBMJOB to
schedule a batch job.
- You schedule a job using either the iSeries™ Navigator interface () or the character-based interface (SBMJOB command
with SCDATE and SCDTIME parameters
specified).
- The job remains on the job queue in a scheduled state (SCD status) until
the date and time indicated by the parameters.
- At the scheduled time, the job is released from the job queue. The job's
status changes from scheduled (SCD) to released (RLS), unless the job is held
(SCDHLD), in which case it changes from scheduled to held (HLD).
- The job is processed like any other job on the job queue.
- The job starts if normal conditions (such as a job queue allocated to
an active subsystem and maximum jobs not already active) exist.
Note: This method places the job on the job queue immediately, thus if the
job queue is cleared before the scheduled date and time, you will loose your
job.