Communicator 3000 MPE/iX Release 6.0 (Platform Software Release C.60.00) (30216-90269)
42 Chapter 3
System Management
User-Defined Job Queues and ALTJOB HIPRI Enhancements
User-Defined Job Queues and ALTJOB
HIPRI Enhancements
by Mohan Das Konanoor and Jayaram
Enhancements Summary
Previously MPE/iX had one job queue into which all the submitted jobs
went before getting launched by the dispatcher. A few long jobs could
prevent many short jobs from running.
MPE/iX can now have up to 255 user-defined job queues, each having a
separate limit on the number of jobs that can be run. Users can specify
the queue to which their jobs should log on by using the newly added
;JOBQ= parameter of !JOB command or !STREAM command. There will
be one default job queue named HPSYSJQ, which will be created during
the system bootup.
• Three new commands have been added: NEWJOBQ, PURGEJOBQ, and
LISTJOBQ
• LIMIT, ALTJOB, JOB and STREAM commands now have a new
parameter, ;JOBQ=.
• LIMIT command can now be used to increment or decrement the
limit values.
• SHOWJOB command now has a new parameter ;JOBQ to display the
queue name to which each job belongs.
• ALTJOB command now has a new option ;HIPRI to change the
priority of the job as HIPRI. This option can be used to override the
job limit. SM or OP capability is required for this option.
New Commands
NEWJOBQ
Syntax:
NEWJOBQ qname [;limit=n]
The NEWJOBQ command creates a new job queue. SM/OP capability is
required to execute this command.
Limit is the only queue controlling property. The jobs in the queue are
sorted by their INPRI. In case of a tie for INPRI, jobs are sorted by their
INTRO time.
The global limit takes precedence over individual queue limits. That is,
even if a JOBQ has a slot available, if the overall limit has been
reached, jobs have to wait until one of the jobs finishes or the global