HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
388 Chapter 5
Command Definitions L-O
NEWJOBQ
NEWJOBQ
The NEWJOBQ command creates a new job queue.
Syntax
NEWJOBQ qname [;limit=n]
Parameters
qname Name of the queue to be created. If a queue of this name already exists, an
error is indicated.
limit Maximum number of jobs that can be allowed in this queue. The limit
value can be changed using the :limit [+-]n;jobq= command. If omitted, a
value of zero is assumed.
Operation Notes
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 jobqueue
has a slot available, if the overall limit has been reached, jobs have to wait till one of the
jobs finish or the global limit is increased. When a global slot becomes available, the next
job is picked from among the eligible jobqueues (those which haven't yet reached their
individual limits).
The job queues persist across reboots, provided a START RECOVERY is done. Any other
system starts will cause the job queues to be deleted and they will have to be created
again.
This command is available in a session, job, or in BREAK. Pressing [Break] has no effect
on this command. This command is not allowed in the SYSSTART file.
SM/OP capability is required to execute this command.
Examples
:NEWJOBQ MYJOBQ;limit=100
Related Information
Commands LISTJOBQ, PURGEJOBQ, SHOWJOB, ALTJOB
Manuals