How prevent the tapes to be mounted in SCRATCH status?


Article ID: 15178


Updated On:




Migrated to new VTS tape ranges and tape copy process is going on to copy from OLD VTS to NEW VTS.

How we can prevent to mount the OLD tapes in scratch status ?  and how prevent to write on these OLD tapes ?


Release: ONE...00200-12.6-One-TAPE MANAGEMENT



To keep the volumes from being written on we can:

- use the scratchpool READONLY 

Specifies the name that you assign to the READ ONLY scratch subpool. The name can have up to 13 characters. The nnnnn parameter is an optional user-defined suffix that can be used to qualify the subpool further. The RANGE= keyword is the only valid options for this keyword. All other 
keywords are not allowed. 
 This statement would go into the TMOSCRxx member of CTAPOPTN. To activate  it you would need to run TMSINIT. After it is activated CA 1 will prevent  any type of write to those tapes. 

- we can change the status of these volumes from SCRATCH TO DELETE using the TMSDELET utility. Always CA1 willprevent any writing to the tape.

The way to prevent the mount would be to either delete the tape from the VTS or when it is scratched, put it back into private status in the TCDB so that it won't mount it for a scratch request.