altrpri
You can use the altpri command to change the priority for a job or job stream.
Overview
The default priority value of a job in plan or a job stream in plan is 10. You can use the altpri command to manage the priority of a job or job stream. This gives you an additional control over the process and order of job or job stream run. You must have altpri access on the job or job stream to run the command.
Syntax and command line options
You can enter the command as
follows:
ocli plan (altpri|ap) (jobSelect/jobstreamSelect) priority noask
The jobSelect/jobstreamSelect and priority
parameters are mandatory. The details required with each parameter are as
follows:
- jobSelect/jobstreamSelect
- Specify the name of the job or job stream to set the priority, by means of attributes and qualifiers.
- Priority
- Specify a value to set as priority for the job or job stream. You can
use the following values:
- Numerals 0 to 101
hi
(Equivalent to 100)go
(Equivalent to 101)
Important: When the priority is set to
hi
or go
, the job or job stream runs on
the workstation even if the workstation limit is exceeded.- noask
-
When you add the option as an argument the agent will not ask for confirmation before taking action on each qualifying job.
Example
- To set the priority of
OCTWON
job inMONTHCRIC
job stream asgo
, run the following command:ocli plan altpri MONTHCRIC.OCTWON go