5.52 MOUNTED_TAPE_REINIT (Control tape initialization)
5.52.1 Function
This system parameter specifies whether reinitialization of tape drive devices via the DEVINIT command
in order to mount a new tape should be allowed if there is already a tape mounted on the drive. This
option is meant as a safety mechanism to protect against accidentally unmounting a tape from the wrong
device as a result of a simple typing error and thereby eventually cancelling a potentially important tape
job. Please note that for SCSI tape drives the "DEVINIT nnnn *" command has no effect. The tape must
be unmounted manually since it is a real physical device and not emulated via a disk file like '.AWS' or
'.HET' tapes.
Specifying ALLOW, the default, indicates that new tapes may be mounted via "DEVINIT nnnn new-tape-
filename" irrespective of whether or not there is already a tape mounted on the drive.
Specifying DISALLOW prevents new tapes from being mounted if one is already mounted. Before the
new tape can be mounted the existing one has first to be unmounted (via the "DEVINIT nnnn *" com-
mand). Otherwise the DEVINIT attempt to mount the new tape is rejected.
5.52.2 Syntax
Descriptive
ALLOW
Diagram
Êʬ¬¬ ¬¬¬§¬¬¬ ¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
¬
ALLOW ¬¬¬¬¬¬«
¬¬¬¬«
LLOW
5.52.3 Parameter
ENABLE
Indicates that new tapes may be mounted irrespective of whether or not there is
already a tape mounted on the drive. This is the default.
ALLOW
This is the same as ENABLE.
DISABLE
Prevents new tapes from being mounted if one is already mounted on the drive.
Before the new tape can be mounted the currently mounted tape must first to be
unmounted. Instead of DISABLE, the argument DISALLOW that has been used in
earlier versions of Hercules can also be used.
DISALLOW
This is the same as DISABLE.