Previous Topic: JOB_CRITERIA Statement—Specify the Evaluation Criteria for a Return StringNext Topic: JOBCOPY Statement—Copy an Existing SAP Job


JOBCLASS Statement—Assign a Job Class to a Job

The JOBCLASS statement assigns a job class value to a job. When this statement is specified, the agent interprets the job class against the job classes defined in the agentparm.txt file. Each defined job class has a specified number of initiators, which allows for manual load balancing against system resources.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

JOBCLASS class
class

Specifies the job class that this job runs under. The agent maintains a list of job classes and the number of initiators assigned to each job class. A job class with more initiators can process more jobs more quickly. For higher-priority jobs, assign a job class that contains more initiators.

Limits: Up to 128 characters; it cannot contain delimiters (such as spaces)

Notes:

Example: Specify a Job Class in a UNIX Job

In this example, the UNIX job runs under job class JOBCLASS2.

AGENT UNIXAGENT
JOBCLASS JOBCLASS2
SCRIPTNAME /export/home/payroll/data