altpri
Alters the priority of a job or job stream.
You must have altpri access to the job or job stream.
Syntax
{altpri | ap} jobselect | jstreamselect
[;pri]
[;noask]
Arguments
- jobselect
- See Selecting jobs in commands.
- jstreamselect
- See Selecting job streams in commands.
- pri
- Specifies the priority level. You can enter a value of 0 through 99, hi, or go.
- noask
- Specifies not to prompt for confirmation before taking action on each qualifying job or job stream.
Examples
To change the priority of the balance job
in job stream glmonth(0900 02/19/06), run the following
command:
ap glmonth(0900 02/19/06).balance;55
To
change the priority of job stream glmonth(0900 02/19/06),
run the following command:
ap glmonth(0900 02/19/06);10
See also
From the Dynamic Workload Console you
can perform the same task as follows:
- In the navigation bar at the top, click .
- Select an engine.
- In Object Type, select Job or Job Stream.
- From the Query drop-down list, select a query to monitor jobs or job streams.
- Click Run to run the monitoring task.
- From the table containing the list of results, select the job or job stream whose priority you want to change and click tab.
- In the displayed panel, set the new priority and click OK.