Draft Document for Review February 7, 2020 3:15 pm 8464ch10_OperSW.fm Changing STATUS of scratched volumes to PRIVATE The next step in recovering the volume is to change the status from SCRATCH back to  PRIVATE in the TS7700 and the TCDB. The next steps vary depending on your TMS. If your  TMS is DFSMS Removable Media Manager (DFSMSrmm), you also change the status of the  volume to MASTER in the RMM CDS.  To start this process, use DFSMSrmm to search on a volume string. Then, put all of the  scratch volumes that match that string into a file with a TSO subcommand to change their  status back to MASTER, and set an Expiration Date to some future value (to prevent the next  run of DFSMSrmm Housekeeping from sending the volume back to SCRATCH), as shown in  Example 10-18. Example 10-18 Change status //STEPA EXEC PGM=IKJEFT01 //SYSTSPRT DD DUMMY //RMMCLIST DD DSN=DENEKA.RMMCV, // DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(2,2),RLSE), // UNIT=SYSDA //SYSTSIN DD * PROF NOMSGID RMM SV VOLUME(A*) OWNER(*) LIM(1) HOME(HYDRAG) STATUS(SCRATCH) - CLIST('RMM CHANGEVOLUME ',' STATUS(MASTER) EXPDT(14355) /* The RMMCLIST DD features the following output: READY RMM CHANGEVOLUME A0000P STATUS(MASTER) EXPDT(14355) Use the job control language (JCL) that is shown in Example 10-19 to run the previously  generated CLIST. This process can be done in the same job as the  RMM SV  command if no  editing of the generated list was needed to remove volumes without a consistent copy found.  Altering the status of such volumes to MASTER needlessly uses a scratch volser because the  volume contents were expire-deleted.  Example 10-19 JCL for CLIST //STEPB EXEC PGM=IKJEFT01,DYNAMNBR=60 //SYSTSPRT DD DSN=DENEKA.RMMCV.OUT, // DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(10,2),RLSE), // UNIT=SYSDA //SYSTSIN DD DISP=SHR, // DSN=DENEKA.RMMCV  Setting the volume back to MASTER status in RMM causes the CBRUXCUA (Change Use  Attribute) installation exit to be started. If the change is approved, OAM updates the volume  category in the TS7700 first to match the private category that is used by this host. After this  process is successful, it changes the volume from scratch to private in the TCDB. These three  sources (the library, TCDB, and TMS) must feature consistent information for the status of the  volume for a future mount of that volume to succeed. Chapter 10. z Host Console operations  605