JOBFENCE



JOBFENCE

     Defines the minimum input priority that a job or session
     must have in order to execute.

SYNTAX

     JOBFENCE priorityfence


PARAMETERS

priorityfence       A number between 0 and 14, inclusive.this range,
                    smaller numbers are less limiting;  larger numbers
                    more limiting.


OPERATION

     MPE/iX will 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.

     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 defer all non-HIPRI jobs and sessions, first set the
     JOBFENCE to 14, as shown below.

     JOBFENCE 14
     1618/#J7/34/DEFERRED JOB INTRODUCED ON LDEV #10
     1618/#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  417P  OPERATOR.SYS
#J7      WAIT   D 8    10S  12       THU  418P  JOB1,FIELD.SUPPORT
#J8      WAIT   D 8    10S  12       THU  418P  JOB2,FIELD.SUPPORT

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, which will allow waiting
     jobs to log on.

     JOBFENCE 6

     1621/#J7/34/LOGON FOR JOB1,FIELD.SUPPORT ON LDEV #10
     1621/#J8/35/LOGON FOR JOB2,FIELD.SUPPORT ON LDEV #10

ADDITIONAL INFORMATION

Commands:   ALTJOB

Manuals :   Performing System Operation Tasks (32650-90137)