Examples of how to code the ALTERPRI command

The following examples present different ways to code the ALTERPRI command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Altering the queuing priority of all requests for a specific data set

To alter the queueing priority of all requests for a particular data set, enter the ALTERPRI command with the DATASETNAME parameter specified. In this example, all requests for data set USERA.DSET01 are updated so that they have the highest priority on their respective queues.
   ALTERPRI DATASETNAME(USERA.DSET01)  

Altering the queuing priority of all requests with a specific request number

To alter the queueing priority of all requests with a particular request number, enter the ALTERPRI command with the request number specified. In this example, all requests with request number 1078 are updated so that they have the highest priority on their respective queues.
   ALTERPRI REQUEST(1078) HIGH  

Altering the queueing priority of all requests issued by a specific user

To alter the queueing priority of all requests issued by a particular user, enter the ALTERPRI command with the userid specified. In this example, all of the requests issued by user USERA are updated so that they have the lowest priority on their respective queues.
   ALTERPRI USERID(USERA) LOW