Previous Topic: Writing JCL to a JES2 Internal ReaderNext Topic: Initiating Nonterminal Tasks


Modifying a Task's Priority

DC selects a task for processing based on its priority assignment. A task's priority is determined by the sum of the priority values assigned for the task code, the user, and the terminal. Tasks with the same priority are handled on a first-in/first-out (FIFO) basis.

To change the dispatching priority of a task:

  1. Invoke the specified task.
  2. Issue a CHANGE PRIORITY statement that specifies a new dispatching priority for the issuing task. The new priority applies only to the current execution of the task.

    Note: You cannot use this statement to alter the priorities of other tasks executing under the same DC system.