LIMIT [ HP 3000 Series 9X8LX Computer Systems Commands Reference ] MPE/iX 5.0 Documentation
HP 3000 Series 9X8LX Computer Systems Commands Reference
LIMIT
The LIMIT command limits the number of concurrently running jobs or
sessions. Maximum job and session limits are established during system
configuration. Within these limits, the LIMIT command can redefine the
job and session limits.
Syntax
[{numberjobs }]
LIMIT [{,numbersessions }]
[{numberjobs,numbersessions}]
Parameters
numberjobs Specifies the maximum number of jobs.
number- sessions Specifies the maximum number of sessions.
If you do not specify a parameter value, the system displays the current
limits. If you specify one parameter value but not the other, the limit
changes only for the specified parameter.
Operation Notes
* Usage
You can enter this command from a session, a job, a program, or in
break mode. Pressing Break does not affect this command.
You must enter this command from the console; however, you can
enter this command from your terminal if your system administrator
has used the ALLOW command, which permits you to enter this
command.
* Priority and nonpriority jobs and sessions
Ordinarily, no new jobs or sessions can exceed the current job and
session limits; however, you can override these limits by using
the HIPRI parameter of the JOB and HELLO commands. You can
specify the HIPRI parameter only if you have SM or OP capability.
You can submit a non-HIPRI job even if the current job limit is
reached, but your job waits until it can log on without exceeding
the job limit.
You cannot log on as a non-HIPRI session after the session limit
is reached. If you attempt to log on, the message CAN'T INITIATE
NEW SESSIONS NOW appears.
* Existing job and session execution
The number of jobs and sessions may already exceed the new limit
that you specify when you enter this command, however, this does
not abort currently executing jobs or sessions. They continue to
execute, but no new jobs enter the executing state, and no new
sessions are initiated.
Examples
* To limit the number of sessions to 13, but retain the current job
limit, enter:
:LIMIT,13
* To limit the number of jobs to 2 and the number of sessions to 15,
enter:
:LIMIT 2,15
The system responds as follows when you enter the SHOWJOB command:
________________________________________________________________
| |
| JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME |
| |
| #S24 EXEC 20 20 TUE 1:54A OPERATOR.SYS |
| #S26 EXEC 177 177 TUE 5:01A FUNKY,RSPOOL.S|
| #S96 EXEC QUIET 35 35 TUE 8:31A SLIDES.SIMON |
| |
| 3 JOBS: |
| 0 INTRO |
| 0 WAIT; INCL 0 DEFERRED |
| 3 EXC; INCL 3 SESSIONS |
| 0 SUSP |
| JOBFENCE= 6; JLIMIT= 2; SLIMIT= 15 |
________________________________________________________________
Note the JLIMIT and SLIMIT fields showing that the new job limit
is 2 and the new session limit is 15.
Related Commands
HELLO
JOB
JOBFENCE
MPE/iX 5.0 Documentation