HP (Hewlett-Packard) HP 3000 Laptop User Manual


 
62 Chapter 2
Command Definitions A-B
ALTJOB
ALTJOB
Alters the attributes of waiting or scheduled jobs. (Native Mode)
Syntax
ALTJOB[ JOB=] { #Jnnn #Snnn }
[ ;INPRI=inputpriority] [ ;OUTDEV={ ldev devclass } ]
[.HIPRI][;JOBQ=queuename]
Parameters
#Jnnn A job number.
#Snnn A session number. (Although syntactically correct, this parameter is rarely
used: sessions do not wait.)
inputpriority The new input priority (0 = lowest; 14 = highest).
ldev or devclass The logical device number or device class name of the destination device
job's $STDLIST.
HIPRI Allows the OP or SM to bypass the joblimit, see the JOB command for
more detail.
queuename The name of the job queue whose limit is being changed.
Operation Notes
The ALTJOB command, in conjunction with the JOBFENCE command, allows you to control
the flow of all jobs on the system with the exception of HIPRI jobs. It can be used to alter
only jobs in the INTRO, WAIT, or SCHED state. Jobs with an input priority less than or
equal to the current JOBFENCE, a numerical value from 0 to 14, are deferred.
Use
This command may be issued from a session, job, program, or in BREAK. Pressing BREAK
has no effect on this command. If issued from the console or by a user with SM capability,
or allowed via the ALLOW command, the ALTJOB command can be used to alter any job. A
user who is not at the console, does not have SM or has not been allowed the command may
issue ALTJOB only if jobsecurity is set to low. If jobsecurity is set to low then all users can
issue ALTJOB against their own jobs and account managers (AM capability) can issue it
against any job in that account.
Example
In the following example, three jobs are submitted by users, each with an INPRI value of 8.
To change the INPRI values to ensure that JOB1 runs first, JOB2 runs last, and JOB3 runs
second with LP allocated as the OUTDEV for JOB3, enter the following commands: