Job execution

Jobs can be started in multiple ways. The job’s status defines how you can start the job. You can start the job if the job’s status is In queue or Free .

In Queue status

If the job’s status is In queue , the Job Scheduler BSE Service is used to start the job.

Jobs with the In queue status can be monitored using the session. This session shows an overview of all scheduled jobs across all companies.

Jobs started by the Job Scheduler BSE Service are carried out by a separate bshell. This bshell runs in the company of the job, using the settings of the LN user who created the job.

Free status

If the job’s status is Free , you can start the job through the session.

Activate Job (ttaad5203m000)

If you start the job before the time and date of execution, the job’s status changes to Waiting . When the job is being carried out, the job’s status changes to Running . The bshell of the user who starts the job carries out the job. The user cannot quit the bshell until the job is finished.

To start a job that belongs to more than one company, select the Change Company command on the Menu browser’s Option menu. Switch to the required company.

Job status

This table shows the statuses a job can have during its life span:

Status Description
Free The job’s basic job data is defined and is ready to be started.
Running The job is started and is running.
Waiting The job is started and is waiting to be carried out at the next execution date and time.

The Job Scheduler does not start the job.

In queue The job is queued and is started automatically by the Job Scheduler.
Blocked The job is blocked and cannot be started. To start the job, set the status to Free or In queue .
Canceled The job is stopped with the session. A job is also canceled when the maximum duration is exceeded.
Runtime error This status signals an error during the execution of the job.

If required, you can cancel a job, for example, to change the job’s basic job data. To cancel the job, use the session. On the appropriate menu, click Cancel Job. If you cancel a job, the current session of the running job is carried out, but the next sessions in the job are not started. The job’s status changes from In queue to Canceled . To restart a canceled job, you must release the job to change the job’s status to In queue or Free .

To temporarily stop a job, start the session. On the appropriate menu, click Block Job.