8.104 MOUNTED_TAPE_REINIT (Control tape initialization)
8.104.1 Function
The  MOUNTED_TAPE_REINIT  command  controls  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.  Without  a  parameter  given  the  current  setting  is  displayed.  
Specifying  ALLOW  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.  
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.  
8.104.2 Syntax
Descriptive  
Diagram  
Êʬ¬¬ T ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
¬¬¬¬¬«  
¬¬¬«  
8.104.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.  
            
            



















































































































































































































































































































































































































































































































































































































































































