17.4.3 Job Queue Priorities

Job queue monitors support the IBM i concept of job queue priorities.

Under IBM i, job queue priority is determined by the job description that the job is submitted under.

Each job on a job queue is assigned a priority in the range 0 to 9.

Jobs with the lowest priority value (i.e. closest to 0) execute first (i.e. they have the highest priority on the queue).

Within a single priority value, jobs are executed in order of arrival on the queue.

The job queue priority of the jobs that you submit can also be controlled by using the shipped Built-In Function SET_SESSION_VALUE.

The default priority is 5.