
Chapter 4 303
Command Definition F-K
JOBFENCE
JOBFENCE
Defines the minimum input priority that a job or session must have in order to execute.
(Native Mode)
Syntax
JOBFENCE priorityfence
Parameters
priorityfence A number between 0 and 14, inclusive. Within this range, smaller
numbers are less limiting; larger numbers more limiting.
Operation Notes
MPE/iX does not dispatch jobs or sessions with an input priority less than or equal to the
priorityfence until their input priority is raised with the ALTJOB command, or until the
jobfence is lowered. System managers and system supervisors may override the jobfence
setting by logging on with the HIPRI parameter of the JOB or HELLO commands. Or, they
may log on with an input priority greater than the jobfence as reported by the SHOWJOB
command.
Use
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 distributed to
users with the ALLOW command.
Examples
To defer all non-HIPRI jobs and sessions, first set the jobfence to 14, as shown below:
JOBFENCE 14
16:18/#J7/34/DEFERRED JOB INTRODUCED ON LDEV #10
16:18/#J8/35/DEFERRED JOB INTRODUCED ON LDEV #10
Then enter the SHOWJOB command to display the effect of the new jobfence.
SHOWJOB
JOBNUM STATE IPRI JIN JLIST INTRODUCED JOB NAME
#S26 EXEC 20 20 THU 4:17P OPERATOR.SYS
#J7 WAIT D 8 10S 12 THU 4:18P JOB1,FIELD.SUPT
#J8 WAIT D 8 10S 12 THU 4:18P JOB2,FIELD.SUPT
3 JOBS:
0 INTRO
2 WAIT; INCL 2 DEFERRED
1 EXEC; INCL 1 SESSIONS
0 SUSP
JOBFENCE= 14; JLIMIT= 5; SLIMIT=16
Finally, reset the jobfence to 6 to allow waiting jobs to log on: