Creating and running an IMS Database Recovery Facility job

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

  1. Install and configure the required IMS Database Recovery Facility load libraries and utilities.
  2. Customize the procedures and JCL found in the your.hlq.SFRXSAMP sample library.

    For more information, refer to:

  3. Customize the execution JCL located in the your.hlq.SFRXSAMP sample library.

    For more information, see DRFMAS procedure.

    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:
    1. When you run IMS Database Recovery Facility, the FRXMAS procedure is invoked.

      DRFMBR=ZZ references the FRXDRFZZ configuration file for IMS Database Recovery Facility.

    2. 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.
    3. The database name is DHVNTZ02 (HIDAM/VSAM).

      You can specify one or more databases to recover.

  4. 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.