Adding job groups

You can use job groups in a job profile to perform a combination of maintenance functions within a single job profile. Each group of object, exception, and utility profiles within a job profile can be thought of as a separate job profile that executes independently of the other groups within the job profile.

About this task

Before you create and use job groups, note the following:

  • When a job profile is created, a default job group name of DEFAULT GROUP #1 is assigned. If no other job groups are created in the job profile, all profiles within the existing job profile are part of the default job group.
  • The Excp Rule - Accepted and Excp Rule - Rejected fields on the Update Jobs Profile Display allows you to control which utility profile applies to the accepted and rejected objects returned from exception processing. The exception rules that are defined in a job group override the exception rule that is defined in a utility profile.
  • When a job profile contains multiple job groups, job generation and breakdown options are applied to each group individually.
  • A job group is treated as a single job group if there is one of each profile type (object, utility, and optionally exception) in the job profile. If there is more than one of each profile in a job group, more than one set of jobs is generated. In this case, the job group breakdown options apply to each SET of jobs that are generated for the job group. Refer to Specifying job group breakdown options for detailed information.

Example

You can use a single job profile to generate different image copy utility JCL for a set of table spaces based on a set of exceptions. Some of the table spaces might meet the exception criteria; those spaces would require a full image copy utility generated. The remaining table spaces that do not meet the exception criteria for a full image copy could have an incremental image copy utility generated. One job profile that uses a job group and the exception rules fields in the job profile can generate the JCL for both utilities.