Job groups

Job groups are convenient when the execution of job 'A' depends on the result of job 'B' and you do not know at what time job 'A' must be scheduled. To handle dependent jobs, you can create a job group in the Job Groups (ttaad5140m000) session, after which the Job Group data (ttaad5640m000) multi-main table session is started. This session shows multiple tables and you can perform maintenance commands on the main entity and the child tables.

You can change the status of the job group with the specific options in the Job Groups (ttaad5140m000) session and the Job Group data (ttaad5640m000) session. The statuses have the same meaning as the statuses of the jobs and the same status changes are allowed.

Job groups are only handled by the BSE Scheduler service. You cannot activate job groups directly.

Note: Jobs that are started through a job group must be in status Free .

To create a job group:

  1. Start the Job Groups (ttaad5140m000) session.
  2. Click New.
  3. Specify a job group name with the same characteristics as the job name.
  4. Specify a Description . The Job Group Status field and the User field are specified automatically.
  5. Click Add in the Jobs by Job Group (ttaad5143m000) tab to add jobs to the group.

    Add the jobs in the order they must be performed. The first job in the group, the one with the lowest job group number, determines the handling of the whole job group. For example, the execution date and whether the job group must be repeated. If the job group must not be repeated, the job group and all non-repeating jobs in the job group are deleted when the job group is finished. In the Action on Error field you can specify what happens when a job ends in an error.

    You can set these actions:

    • Continue

      Makes the job group start the next session(s).

    • Interrupt

      You can appoint a last job in the group that must be performed, to clean up. The job group stops processing after performing that job. All other jobs that are not scheduled are not started.

  6. Click the Jobs by Job Group Dependencies (ttaad5146m000) tab to specify the dependencies.
    A job in the job group can only depend on a job with a lower job number in the same job group.
    You can only use job groups with the BSE service Job Scheduler Service (ttaad5220m000) session.