How prevent the tapes to be mounted in SCRATCH status?

book

Article ID: 15178

calendar_today

Updated On:

Products

CA 1 Tape Management CA 1 Tape Management - Copycat Utility CA 1 Tape Management - Add-On Options

Issue/Introduction



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 ?

Environment

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

Resolution

 

To keep the volumes from being written on we can:

- use the scratchpool READONLY 
example: 
SCRPOOL=READONLY00001,RANGE=100000-199999 

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. 


OR
- 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.