Lowering and Resetting Job Limits [ Performing System Operation Tasks ] MPE/iX 5.0 Documentation
Performing System Operation Tasks
Lowering and Resetting Job Limits
You can set a limit on the number of jobs the computer processes at the
same time. Most of the time, you will lower the limit to 0 or leave it
alone. Lowering the limit does not affect jobs that the computer is
processing already. It affects only those that are streamed after you
lower the limit.
To determine the jobfence
The jobfence is a barrier that keeps some jobs from being processed. It
may be a value between 0 and 14. To be eligible for computer processing,
a job's input priority must exceed the jobfence. A jobfence of 14
prevents all jobs from processing.
To determine the jobfence, enter:
SHOWJOB STATUS
If there are no jobs, you'll see the message NO SUCH JOBS. Otherwise, the
system issues a description for each one, something like the following
display:
________________________________________________________________________
| |
| |
| JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME |
| |
| #Jnnn WAIT D 8 10S LP MON 3:29P MYJOB,OPERATOR.SYS |
| |
| JOBFENCE= 14; JLIMIT= 10; SLIMIT= 60 |
| |
________________________________________________________________________
In this example, the jobfence is set to its maximum value, 14, which
prevents all jobs from executing. The job listed (MYJOB,OPERATOR.SYS)
has an input priority of 8, which means that it will continue to wait
until the jobfence is lowered to 7 or less.
To determine the job limit
To determine the job limit, enter:
LIMIT
Or, you can determine the job limit by typing SHOWJOB (to see a list of
all jobs and sessions) or SHOWJOB JOB=@J (to see a list of jobs only).
If you enter SHOWJOB JOB=@J, the system displays information that
resembles the following:
________________________________________________________________________
| |
| |
| JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME |
| |
| #J10 EXEC 10S LP MON 3:29P MAILMAN.HPOFFICE |
| #J46 WAIT D 1 10S LP MON 4:18P JOB1,USER.ACCOUNT |
| #J55 SUSP 10S LP MON 9:08A ARJOB,MGR.ACTRECV |
| |
| 3 JOBS: |
| 0 INTRO |
| 1 WAIT; INCL 1 DEFERRED |
| 1 EXEC; INCL 0 SESSIONS |
| 1 SUSP |
| JOBFENCE= 7; JLIMIT= 10; SLIMIT= 60 |
| |
________________________________________________________________________
The numbers under JOBNUM are the job numbers, and STATE describes what is
happening to the job.
JLIMIT=10 is your job limit. The computer lists jobs that currently are
processing as EXEC, or executing. Suspended jobs (jobs that the computer
was processing, but that have temporarily been halted) are listed as
SUSP. Jobs that the computer has not yet processed are listed as WAIT, or
waiting.
Jobs scheduled to begin later are listed directly below the others in a
separate section:
________________________________________________________________________
| |
| |
| CURRENT: 1/30/94 15:30 |
| |
| JOBNUM STATE IPRI JIN JLIST SCHEDULED-INTRO JOB NAME |
| |
| #J13 SCHED 8 10S LP 1/30/90 20:00 |
| MYJOB,OPERATOR.SYS |
| |
________________________________________________________________________
To lower your job limit
To lower the job limit, enter:
LIMIT 0
You use the same command to limit both jobs and sessions. The first
number always specifies the job limit, and the second number, the session
limit. If you want to change the session limit only, you must insert a
comma before the number as a placeholder.
So, for example, to lower both the job and session limit, enter:
LIMIT 0,0
Or, to lower just the session limit, enter:
LIMIT ,0
To check the new limit, enter:
SHOWJOB STATUS
To reset the job limit
To reset the job limit, enter:
LIMIT n
Replace n with the job limit number.
To change a job's priority
Use the ALTJOB command to raise or lower a job's priority. Raising the
priority tells the computer that the job is urgent and should be
processed ahead of the others. Lowering the priority puts the job on
hold until you change its priority or until you change the jobfence.
To change a job's priority to 0, enter the ALTJOB command and the job's
number (in place of nnn) as shown in this example:
ALTJOB #Jnnn;INPRI=0
To check on the job, enter:
SHOWJOB #Jnnn
It will be listed as "D 0", or "deferred, with a priority of 0."
You can make the job eligible for processing again by raising its
priority above the jobfence or by lowering the jobfence.
To raise the job's priority.
To raise a job's priority to 14, enter the ALTJOB command and the job's
number (in place of nnn) as shown in this example:
ALTJOB #Jnnn;INPRI=14
The value 14 is the highest priority you can give a job.
To suspend a job
You can temporarily stop any job that is listed as "EXEC" (executing).
The computer still keeps track of it, listing it as "SUSP" (suspended)
until you restart or abort the job. To suspend a job, enter:
SPOOLER DEV=nn;SUSPEND
To suspend a processing job.
To suspend a job that your computer is processing, enter the BREAKJOB
command and the job's number (in place of nnn) as shown in this example:
BREAKJOB #Jnnn
To list suspended jobs.
To list any suspended jobs, enter:
SHOWJOB SUSP
If there are no suspended jobs, the computer sends you a NO SUCH JOB(S)
message. If any jobs are suspended, the computer lists them in this
form:
________________________________________________________________________
| |
| |
| JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME |
| |
| #J11 SUSP 10S SERIALP MON 3:29P JOB2.HPOFFICE |
| |
| JOBFENCE= 7; JLIMIT= 10; SLIMIT= 60 |
| |
________________________________________________________________________
To restart a suspended job
To restart a suspended job, enter the RESUMEJOB command and the job's
number (in place of nnn) as shown in this example:
RESUMEJOB #Jnnn
MPE/iX 5.0 Documentation