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 noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.

Example

  1. To set the priority of OCTWON job in MONTHCRIC job stream as go, run the following command:
    ocli plan altpri MONTHCRIC.OCTWON go