Move a job up in priority within a job queue

All jobs in a job queue wait in line for processing. As each job in the queue completes, the next job in line begins. The processing order of the jobs in the queue depends upon the job's priority, and the maximum number of jobs that can run at the same time on the subsystem.

Sometimes the importance of a job changes as it goes through its life cycle. It can increase or decrease in priority in relation to other jobs. Because these changes occur, you need to know how to change the priority of a job within the job queue.

The priority of a job on a job queue helps determine when the job goes to the subsystem to run. A range from zero to nine (zero being the most important) determines the priority of a job on a job queue.

Character-based interface

Command: Change Job (CHGJOB)

Parameter: JOBPTY

Example: This command changes the scheduling priority for the job PAYROLL to 4. Because only the simple name of the job is specified, there can be only one job named PAYROLL in the system. If there is more than one, the default of DUPJOBOPT(*SELECT) causes a selection panel to be displayed in an interactive job.
  CHGJOB   JOB(PAYROLL)  JOBPTY(4)