Based on the implementation of the VTS Export/Import interface, the VTS Export/Import process occurs as follows:
Daily Run of the Control-M/Tape Vault Management Facility
Once the changes to the VTSVLTIN member and the changes to the CTTVVM and CTTVEXP steps of the CTTVTM procedure have been implemented, the procedures are executed as part of the normal daily run of the Control-M/Tape vault management facility. This includes the entire CTTVTM utility (the Control-M/Tape vault management utility) and the CTTRBM module. Steps CTTVVM and CTTVEXP run after the CTTRBM module runs.
Note: If you run only one CTTVTM session within the CTTVTM utility, the distribution reports that are produced by this CTTVTM session contain both regular tapes and VTS logical tapes. When reading through these distribution reports, it is difficult for the operator to identify the VTS logical tapes that require vaulting. To avoid this problem, it is recommended that you run two different CTTVTM sessions, where the first session excludes all VTS tapes (using the EXCLUDE statement) while the second session includes only the VTS tapes (using the INCLUDE statement). Using this strategy, steps CTTVVM and CTTVEXP would only be run as a part of the second session. As a result, CTTVTM produces separate distribution reports that exclude and include VTS logical tapes, respectively.
For more information about the CTTVTM utility, see the Control-M/Tape chapter of the INCONTROL for z/OS Utilities Guide. For more information about the CTTRBM module, see The CTTRBM Module.
The CTTVVM Step
From the list of tapes that were vaulted by the CTTVTM utility, CTTVVM selects logical volumes to be exported to physical tapes based on the value of TYPERUN MODE (either FIRSTVLT or ALLVLT) and the RANGE of volsers within the VTS, as defined in the VTSVLTIN member. Logical volumes that are not inside this RANGE or that were not moved from location ‘mainlib’ by CTTVTM are not compared for export.
CTTVVM uses the selected set of logical volumes to create the Export List Volume and the Import List Volume. The Export List Volume is used by step CTTVEXP to initiate the VTS Export command. The Import List Volume report contains a list of the physical volumes and the logical volumes that reside on them. The volumes on the Import List Volume are imported when the user later initiates the Import command, which is described in "Import Procedure" below.
After the Import List Volume is produced, a message similar to the following is displayed at the console:
CTT347I IMPORT LIST VOLUME CREATED ON VOLSER VOL0011
The CTTVEXP Step
After the CTTVVM step finishes running, the CTTVEXP step initiates the Export command and the selected logical volumes are then written to physical tapes. This procedure may take some time, depending on the number of tapes to be written.
When all the tapes have been written, a message is issued by the OAM at the console indicating that the procedure has finished. Based on the information from the Export Status File that had been written by the VTS to the Export List Volume, the CTTVEXP step produces a report that lists the following:
Import Procedure
To import logical volumes back to the VTS environment, perform the following steps:
Parent Topic |