Restoring or changing the size of the Registry
Using an Automated or On-Demand Registry backup
To restore your TOM Registry by using either an Automated Registry backup or an On-Demand Registry backup, perform the following steps:
- Determine the name of the backup data set that you want to use for restoring the TOM Registry.
- Stop all TOM PASs in the TOMPLEX that are using the Registry.
Delete and re-allocate the Registry VLDS by using the TOMALLOC BBSAMP member. If you are enlarging the Registry, be sure to specify a larger space parameter value.
- Edit your TOM PAS JCL and specify the backup data set to be used to restore to a new DD name, such as REGDUMP.
- Edit your MAMINIxx BBARM parmlib member and add the PRIMEDD=ddname statement, where ddname is the name of the DD added to your TOM PAS JCL specifying the backup data set.
- Start one of the TOM PASs so that TOM reloads the newly allocated Registry with the records from the backup. See an example of the messages that appear when TOM restores the Registry:
RY1040I Records loaded: 5000
RY1040I Records loaded: 10000
RY1040I Records loaded: 15000
RY1040I Records loaded: 20000
RY1040I Records loaded: 25000
RY1040I Records loaded: 30000
RY1041I Registry primer upload completed
RY1040I Records loaded: 31358
Using the Registry export utility
If you used the Registry export utility to make a backup of one or more Definition Bases, you can use the EXECs created to restore your TOM Registry.
To restore the TOM Registry by using the EXEC created by the Registry export utility, perform the following steps:
- Locate and edit the REXX EXEC created by the Registry export utility and set the correct parameter, default.TOM or default.TOMID.
- Stop all TOM PASs in the TOMPLEX that are using the Registry.
Delete and re-allocate the Registry VLDS by using the TOMALLOC BBSAMP member. If you are enlarging the Registry, be sure to specify a larger space parameter.
- Start one TOM PAS with the newly allocated Registry.
- Run the EXEC created by the Registry export utility to redefine the necessary Definition Bases. Verify the EXEC completes with no errors.
- Start the remaining TOM PASs in the TOMPLEX.