Previous Topic: Controlling JobsNext Topic: Application Services Jobs


Job Classes

Most job types support job classes. Job classes are defined on the agent and can be used to limit the number of various types of work the agent can run at one time. For example, an agent might be able to run up to 100 PAYROLL jobs at one time, but only run up to 20 BACKUP jobs at one time. To allow the correct number of jobs to run at one time, the agent administrator must define separate job classes (PAYROLL and BACKUP) on the agent. For more information about defining initiators and classes, see the agent documentation.

The JOBCLASS C-LANG statement associates job classes with jobs. The following statements specify the job classes for the payroll and backup applications, respectively:

JOBCLASS PAYROLL
JOBCLASS BACKUP