Maintaining the control data set
DFSMSrmm samples provided in SAMPLIB
- EDGJBKUP Sample JCL for Using the Backup Program
- EDGJUTIL Sample JCL for Initializing the Control Data Set
- EDGJMFAL Sample JCL for Allocating the Control Data Set
- EDGJNLAL Sample JCL for Allocating the Journal
Before you begin: DFSMSrmm provides you with the EDGHSKP utility, the EDGBKUP utility, the EDGUTIL utility, the EDGSPLCS utility, and the EDGUPDT utility that you can use to maintain the control data set. EDGHSKP and EDGBKUP provide functions that you can use to back up the DFSMSrmm control data set. Review these descriptions to determine which utility you should use for back up.
Use the DFSMSrmm utility EDGHSKP described in Backing up the control data set to
perform these tasks:
- Back up the DFSMSrmm control data set and journal when DFSMSrmm is active.
- Clear the journal data set. Clear the journal only after back up is completed successfully to avoid losing changes that are made since the last backup. Without these latest changes, a forward recovery can only recover the control data set up to the last backup before the journal was cleared.
Use the DFSMSrmm utility EDGBKUP described in Backing up the control data set to
perform these tasks:
- Back up the DFSMSrmm control data set and journal when DFSMSrmm is active.
- Back up or restore the DFSMSrmm control data set when DFSMSrmm is stopped or quiesced. You can use EDGBKUP independently of DFSMSrmm to back up, restore, and reorganize the DFSMSrmm control data set and to back up the journal.
Use the DFSMSrmm utility EDGUPDT described in Updating the active control data set to update the active DFSMSrmm CDS with record updates created during testing or recovery.
Perform these tasks to maintain the DFSMSrmm control data set:
- Create the control data set control record as described in Creating or updating the control data set control record.
- Back up the control data set and the journal when DFSMSrmm is active using either EDGHSKP as described in Backing up the control data set or EDGBKUP as described in Backing up the control data set.
- Back up the control data set and the journal when DFSMSrmm is inactive using EDGBKUP as described in Backing up the control data set.
- Back up the journal when DFSMSrmm is active or inactive using either EDGHSKP as described in Backing up the journal or EDGBKUP as described in Backing up the control data set.
- Clear the journal by using EDGHSKP when DFSMSrmm is active as described in JCL for backing up the journal
- Restore the control data set, and optionally forward recover when DFSMSrmm is stopped or quiesced using EDGBKUP as described in Restoring the control data set with forward recovery.
- Restore the control data set by using non-DFSMSrmm products such as IDCAMS and DFSMSdss as described in Using non-dfsmsrmm utilities to restore the control data set.
- Forward recover the control data set by using EDGBKUP as described in Forward recovering the control data set.
- Reorganize the control data set using EDGBKUP as described in Reorganizing the control data set.
- Move the control data set by using EDGHSKP as described in Moving the control data set and journal to a different device.
- Move the control data set by using non-DFSMSrmm utilities such as IDCAMS and products such as DFSMSdss as described in Steps for moving the control data set using non-dfsmsrmm utilities.
- Move the journal as described in Moving the journal using DFSMSrmm utilities.
- Recover from control data set update failures by using EDGBKUP as described in Recovering from control data set update failures.
- Verify the contents of the control data set by using EDGUTIL as described in Verifying the contents of the control data set.
- Repair the control data set by using EDGUTIL as described in Mending the control data set.
- Regularly test any procedures or jobs you create to handle recovery of the DFSMSrmm control data set. This ensures that they work and that you and operations are familiar with how they work and what is required.
This topic contains information for using the DFSMSrmm EDGBKUP
utility and the EDGUTIL utility:
Use the DFSMSrmm utility EDGSPLCS, described in Using EDGSPLCS to issue commands to OAM for system-managed volumes, to issue supported commands to OAM for system-managed volumes.