NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-109
TAPEDRIVES Job Attribute
•
The scheduler places the value of the SWAP attribute in the swap-file
parameter
of the PROCESS_CREATE_ procedure. For more information on the
procedure, see the Guardian Procedure Calls Reference Manual.
Example
This example shows the SWAP attribute specifying the swap file for a job’s TACL
executor-program process:
> BATCHCOM $ZBAT; SUBMIT JOB SWAP-JOB, EXECUTOR-PROGRAM TACL,
IN \MELRISK.$QA.FILES.INFILE, SWAP $TRASH.ZBAT.SWAP
Job SWAP-JOB Jobnumber 6 submitted
> STATUS *, GMOMJOBID $ZBAT.6, DETAIL .
.
Swap File Name: $TRASH.ZBAT.SWAP .
.
GMOMJOBID: $ZBAT.6
TAPEDRIVES Job Attribute
The TAPEDRIVES job attribute specifies the number of tape drives required by a job.
number
is a number in the range 0 through 99 specifying the number of tape drives
required.
Considerations
•
The scheduler treats a job submitted without the TAPEDRIVES attribute like a job
with the attribute TAPEDRIVES 0.
•
When you submit a job with the TAPEDRIVES attribute, the scheduler checks the
number of drives required against an internal counter. The scheduler’s treatment of
the job (assuming no other factors are delaying job execution) then depends on
whether the number is:
°
Less than or equal to the counter. In this case, the scheduler runs the job
immediately.
°
Greater than the counter, but no greater than the TAPEDRIVES scheduler
attribute. In this case, the scheduler runs the job when the required drives are
available. The state of jobs waiting for tape drives is TAPE.
°
Greater than the TAPEDRIVES scheduler attribute. In this case, the scheduler
never runs the job. To avoid this situation, do not specify more drives for a job
than are available to the scheduler. If the situation occurs, to resolve it do one
of:
TA[PEDRIVES] number