  | 
»  | 
 | 
  
 | 
 | 
The JOBFENCE command defines the minimum input priority that a job or a session must have in order to execute. Syntax |    |  
 Parameters |    |  
 - priorityfence
 The number 0 allows a job or session to log on with any INPRI value. The number 14 prevents all jobs and sessions from logging on regardless of their INPRI value. The use of HIPRI as well as the job and session limits affects the ability of a job or session to log on. The system does not process jobs or sessions with an input priority less
than or equal to the priorityfence until you raise their input priority
with the ALTJOB command or lower the jobfence. 
 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. Overriding the jobfence If you have SM or OP capability, you can override the jobfence setting by logging on with the HIPRI parameter of the JOB or HELLO commands. Alternatively, you can log on with an input priority greater than the jobfence, as indicated by the SHOWJOB command. 
 Examples |    |  
 To defer all non-HIPRI jobs and sessions and then allow waiting jobs to log on, do the following: Set the jobfence to 14: 
   :JOBFENCE 14
   16:18/#J7/34/DEFERRED JOB INTRODUCED ON LDEV #10
   16:18/#J8/35/DEFERRED JOB INTRODUCED ON LDEV #10
  |  
 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
 |  
 Reset the jobfence to 6 to allow waiting jobs to log on: 
   :JOBFENCE 6
   16:21/#J7/34/LOGON FOR: JOB1,FIELD.SUPT ON LDEV #10
   16:21/#J8/35/LOGON FOR: JOB2,FIELD.SUPT ON LDEV #10
  |  
 
 
 Related Commands |    |  
 
   ALTJOB
   HELLO
   JOB
   LIMIT
   SHOWJOB
  |  
  
 |