LIMIT



LIMIT

     Limits the number of concurrently running jobs/sessions, or
     displays the current job/session limits.

SYNTAX

                     {numberjobs               }
      LIMIT [{ + }] [{,numbersessions          }]
             { - }   {numberjobs,numbersessions}

             [;JOBQ = ]

PARAMETERS

 +                  Increment the limit value.

 -                  Decrement the limit value.

numberjobs          The number of jobs.

numbersessions      The number of sessions.

           If you specify no parameter, the current limits are displayed.

queuename Name of the job queue whose limit is to be changed.
If omitted, the global limit values are changed.

OPERATION


Maximum job and session limits are established by the system
supervisor during system configuration. Within these
limits, the operator may redefine the job and session limit
with the LIMIT command. When the system is restarted from
disk in a START RECOVER, the operator defined limits are
retained. When any other startup option is used, the values
configured by the supervisor take effect.

No new jobs or sessions will be dispatched that would cause
either of these limits to be exceeded, unless they are
initiated with the ;HIPRI parameter of the JOB or HELLO commands.

Non-HIPRI jobs can still be introduced when the limit is
achieved, but they will not execute.

If you attempt to log on to a non-HIPRI session after the
limit has been reached, you will receive the message

CAN'T INITIATE NEW SESSIONS NOW

The specified limits may be exceeded at the time the command
is issued. This will not cause jobs or sessions executing
at the time to abort. They will continue to execute, but no
new jobs will be allowed to enter the executing state, and
no new sessions will be initiated.

If the ;JOBQ parameter is specified, the command will change
the limits of the specified job queue. Otherwise the global
limits will be changed.

If + or - sign is specified before the numeric value, command
will increment or decrement the limit value by the specified
numeric value.

This command may be issued from a session, job, program, or
in BREAK. Pressing [Break] has no effect on this command. It
may be issued only from the console unless it is distributed to
users with the ALLOW command.

EXAMPLE(S)

     To limit the number of jobs to 2 and the number of sessions
     to 15, enter

     LIMIT 2,15

     SHOWJOB

     JOBNUM  STATE IPRI JIN  JLIST    INTRODUCED  JOB NAME

     #S24    EXEC        20  20       TUE  154A  OPERATOR.SYS
     #S26    EXEC       177  177      TUE  501A  CHEWY,RSPOOL.SYS
     #S96    EXEC QUIET  35  35       TUE  831A  SLIDES.SIMON

     3 JOBS
         0 INTRO
         0 WAIT; INCL 0 DEFERRED
         3 EXEC; INCL 3 SESSIONS
         0 SUSP
     JOBFENCE= 6; JLIMIT= 2; SLIMIT= 15

     To limit the number of sessions to 13, but retain the
     current job limit, enter

     LIMIT,13

     To limit the number of jobs and number of sessions of the job
     queue to 60, enter

     LIMIT 60,60;jobq=myjobq

     To decrement the job limit of the queue MYJOBQ by one, enter

     LIMIT -1;jobq=myjobq

     To increment the global job limit by one, enter

     LIMIT +1


ADDITIONAL INFORMATION

Commands:   HELLO, JOB

Manuals :   Performing System Management Tasks (32650-90004)