Perform the following steps to set up and create an IMS Database Recovery
Facility job to recover a database to the current
time.
Before you begin
- To perform an IMS Database Recovery
Facility recovery, you must have
IMS Database Recovery
Facility installed.
- You must take your databases offline by issuing the
/DBR
command for IMS Database Recovery
Facility to delete the production databases and redefine
them.
- Complete the tasks in sample member FRXITKB.
Procedure
-
Install and configure the required IMS Database Recovery
Facility load
libraries and utilities.
-
Customize the procedures and JCL found in the your.hlq.SFRXSAMP sample
library.
For more information, refer to:
-
Customize the execution JCL located in the your.hlq.SFRXSAMP sample library.
The following example shows modified
IMS Database Recovery
Facility JCL to run a recovery:
a//DRF EXEC FRXMAS,DRFMBR=ZZ
//SYSIN DD *
REPORT(RPTTYPE=SEP,DRFUNIT=SYSDA,DRFHLQ=MYDRF1)
SORTPARM(ASPREF(AS))
DBDSL101(DISP(NEW))
bOUTPUT(PRO)
cADD DB(DHVNTZ02) DBATRB(DBDSL(101))
START ERROR(CONT)
//
Explanation:
- When you run IMS Database Recovery
Facility, the FRXMAS procedure
is invoked.
DRFMBR=ZZ references the FRXDRFZZ configuration file for IMS Database Recovery
Facility.
- A combination of OUTPUT(PRO) and DISP(NEW) causes IMS Database Recovery
Facility to delete and redefine the production database data sets
during recovery to the current time.
- The database name is DHVNTZ02 (HIDAM/VSAM).
You can specify one or more databases to
recover.
-
Submit the IMS Database Recovery
Facility job.
What to do next
After you submit your IMS Database Recovery
Facility
batch job, wait until the job finishes and review the output.