Creating and running an IMS Database Recovery Facility job

Perform the following steps to create and run an IMS Database Recovery Facility job to validate the recovery by using IMS High Performance Pointer Checker.

Before you begin

  • To validate the recovery, you must have IMS Database Recovery Facility and IMS HP Pointer Checker installed.
  • 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 found in the your.hlq.SFRXSAMP sample library.

    For more information, refer to:

  3. Add the PC() keyword to the IMS Database Recovery Facility ADD statement.

    The PC() keyword causes IMS Database Recovery Facility to run IMS High Performance Pointer Checker (for full-function databases) and DEDB Pointer Checker (for Fast Path databases).

    For more information about the PC() keyword, see Reference: ADD PC() command.

  4. Customize the FRXDRF or FRXDRFC execution JCL found 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 an IMS Database Recovery Facility/PC 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,DEDBJN23) PC() -
      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. DHVNTZ02 (HIDAM/VSAM) is a full-function database and DEDBJN23 is a Fast Path database with eight areas.

      You can specify one or more databases to recover.

  5. Submit the IMS Database Recovery Facility job.