Rez,  In this book (http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?
topic=/com.ibm.zos.r9.idao300/stadis.htm) it states 'In an MTL, the scratch 
counts that are displayed reflect the current counts that are maintained in 
the TCDB library record. This is meant to be an approximation. Without having 
an external source to derive the count, the scratch count from that point 
forward may be inaccurate if an update of this count in the catalog fails. 
Periodically check the scratch counts against your tape management system 
or the TCDB volume records.'

OAM does attempt to maintain the scratch counts as tapes are added and the 
status changes. However, if the counts are incorrect you can use IDCAMS 
ALTER LIBRARYENTRY with NUMBERSCRATCHVOLUMES.

When you use CREATE VOLUMEENTRY or IDCAMS ALTER VOLUMEENTRY to add 
or change volumes in the MTL, the counts are not maintained. Only the OAM 
interfaces (CBRXLCS) maintain the counts; for example for manual cartridge 
entry (MCE) and Change Use Attribute (CUA).  Using DFSMSrmm to add and 
manage the volumes you should see correct counts maintained. If you do not 
have rmm the tool SAMPLIB(CBRSPLCS) provides an easy to use and simple 
way to use the CBRXLCS OAM interface, such as for MCE.

Mike Wood RMM Development

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to