NetBatch Manual

Attributes
NetBatch Manual522460-004
7-110
TAPEDRIVES Scheduler Attribute
Increase the number of drives specified by the TAPEDRIVES scheduler
attribute
Reduce the number of drives required by the job
For more information on the scheduler’s internal tape drives counter, see
TAPEDRIVES Scheduler Attribute on page 7-110.
Example
This example shows the submission of two jobs, each of which requires tape drives.
The scheduler puts job 396 into the TAPE state because insufficient drives are
available. The job does not run until job 395 finishes.
40} INFO SCHEDULER, TAPEDRIVES
SCHEDULER ATTRIBUTES
tape-drives: 2
41} SUBMIT JOB BACKUP-TO-TAPE, IN TAPEBKUP, TAPEDRIVES 1
Job BACKUP-TO-TAPE job number 395 submitted
42} SUBMIT JOB STATEMENTS, IN STATMNTS, TAPEDRIVES 2
Job STATEMENTS job number 396 submitted
43} STATUS JOB *
JOB JOBNAME USERID LOG STATE
CLASSNAME
---- ------------------------ ------- ---- ----------- -----
395 BACKUP-TO-TAPE 255,205 159 EXECUTING DEFAULT
396 STATEMENTS 255,205 TAPE DEFAULT
TAPEDRIVES Scheduler Attribute
The TAPEDRIVES scheduler attribute specifies the number of tape drives available for
use by jobs.
number
is a number in the range 0 through 99 specifying the number of tape drives
available.
Considerations
A scheduler adopts the attribute TAPEDRIVES 2 by default when cold
started.
Note. The scheduler cannot determine the actual number of tape drives configured for its
node. Consequently, you must check tape drive availability before specifying the TAPEDRIVES
scheduler attribute. (Use the TAPECOM STATUS command or the PUP LISTDEV TYPE 4
command, or their equivalent MEDIACOM and SCF commands, respectively.)
TA[PEDRIVES] number