How to prevent tapes from being re-vaulted?

Document ID : KB000103389
Last Modified Date : 26/06/2018
Show Technical Document Details
Question:
In order to scratch tapes manually, I updated the EXPDT with today's date and cleared the OUTCODE. However, the next Vault Management run vaulted the tape again and thus it was not scratched by TMSCLEAN.
How to prevent tapes from being re-vaulted?
Answer:
Run TMSUPDTE using the following control statements to update the OUTCODE with ' VMS':

//TMSUPDTE.SYSIN DD *         
VOL vvvvvv,NODSN,NOINTAL      
REP OUTCODE=' VMS'           
/*

Note the blank before VMS in the above control statements.
OUTCODE=' VMS' indicates, that the tape has been returned from the vault and will not be processed by Vault Managment System (VMS) again.