limit sched

You can use the limit sched command to set the number of jobs that can run simultaneously in a job stream.

Overview

There is no specific limit for the number of jobs in a job stream. The default value is null and you can use the limit sched command to manage the number of jobs. You must have limit access on job stream to run the command.

Syntax and command line options

You can enter the command as follows:

ocli plan limit sched | ls jstreamselect ;limit [;noask]

The jobstreamSelect and limit parameters are mandatory. The details required with each parameter are as follows:

jstreamselect

Specify the job stream to update, by means of attributes and qualifiers.

limit
Specify the number of jobs to set as a limit in the job stream definition. You can specify any positive numerical value.
noask

When you add the noask option as an argument, the agent does not ask for confirmation before it acts on each qualifying item.

Examples

  1. To change the job limit on all job streams that include "sales" sales in their name, run the following command:
    ocli plan ls sales@;4
  2. To change the job limit on the CPUA#Job1 job stream, run the following command:
    ocli plan ls=CPUA#apwkly;6