Previous Topic: Pass Keyword Parameters to SBMJOBNext Topic: Returning a Job's Exit Status to the Scheduling Manager


Set an i5/OS Job's Process Priority

Process priority determines the order in which processes are scheduled on the processor. Depending on the priority level, process priority can speed up or slow down a process.

To set an i5/OS job's process priority, specify the priority level using the PROCESS_PRIORITY statement in the job definition.

Example: Set the Priority for an i5/OS Job

In this example, the process priority for an i5/OS job is set to ABOVE_NORMAL.

AGENT I5AG
CLPNAME PAYROLL
PROCESS_PRIORITY ABOVE_NORMAL

If you do not specify the process priority in the job definition, the job's process priority is set to NORMAL by default.