Recovering the Db2 subsystem
You can set up a batch job that will recover the Db2 subsystem to a previous point in time.
Procedure
-
On the DB2 Administration Menu
(ADB2) panel, specify
Z, and press Enter.
The System Administration (ADB2Z) panel is displayed.
-
Specify option SR, and press Enter.
The System Restore (ADB2ZSR) panel is displayed, as shown in the following figure.
Figure 1. System Restore (ADB2ZSR) panel DB2 Admin------------------------- DB2X System Restore------------------- 21:31 Command ===> DSN for Restore System JCL Member name . . . . . . . . LOGONLY . . . . . . . . . . (Yes/No) SWITCH VCAT. . . . . . . . (Yes/No) SYSVALUEDDN. . . . . . . (DD name of VCAT alias data set) FROMDUMP . . . . . . . . . . (Yes/No) DUMPCLASS . . . . . . . . (DFSMShsm dump class to use) RSA. . . . . . . . . . . . > (DFSMShsm key-label to use) TAPEUNITS. . . . . . . . . (Yes/No) Number of tape units . . (Number of tape units to use) BP - Change batch job parameters specified -
Specify values for the DSN for Restore System JCL and Member
name fields to identify where the generated JCL is to be stored, and specify values for
any other appropriate options.
Depending on the level of Db2 that you are using, some of the fields on this panel might be hidden. See the online help for a description of the fields that are displayed.
- Press Enter. Db2 Admin Tool displays the generated JCL for the job, which invokes the RESTORE SYSTEM utility.
- Save the JCL for the batch job. Restriction: The batch job cannot be submitted directly after it is created. It cannot be run from Db2 Admin Tool.