Generating batch recovery JCL interactively


BMC AMI Recovery Manager provides online support for creating ARMBGEN jobs to perform recovery in batch mode.

You specify batch JCL generation from the Object Set List panel or Object List panel and then proceed to specify the recovery point and job information. If you are using the Recovery Management for Db2 solution password, you can also generate JCL to simulate the recovery of the selected object sets or objects. For more information about simulation, see the Recovery Management for Db2 documentation


Important

JCL generation for application recovery considers BACKUP SYSTEM full volume backups as a valid backup for DSNUTILB recovery. BMC AMI Recover does not support full volume backups so BACKUP SYSTEM backups are ignored if the recover utility is AFRMAIN.


Before you begin

The following authorizations are required:

  • EXECUTE authority for the BMC AMI Recovery Manager Db2 plan
  • TYPE O (Open) access for the target object set or object sets

    Db2 must be active when you execute the generated JCL.

To generate a batch recovery job

Start this procedure at either the Object Set List panel or the Object List panel.

  1. Select an object set or object sets for processing, as follows.
    1. If you begin in the Object Set List panel, type a wildcard pattern or the name of a single object set in the format creator.name, and then press Enter. In the Act (action) column, type J (generate JCL for selected object sets) or JA (generate JCL for All object sets) to specify one or more object sets for processing.The Batch Object Set JCL Generation Options panel is displayed.
    2. If you begin in the Object List panel, select the 3. Gen recover JCL background processing option and then press Enter.

      Important

      To generate JCL for multiple object sets, make your selections in the Object Set List panel.

      The Batch Object Set Recovery Point Specification and Batch Object Set JCL Generation Options panels are displayed.

      ARMGJ01B ============= Batch Object Set Recovery Point Specification ================
      Command ===> _________________________________________________________________
      Recover to . . . . . 1 1. Current             2. Image copy                   
                             3. Quiesce             4. Common recovery point        
                             5. Specific Logpoint   6. Restart RBA                  
                             7. Timestamp           8. Logmark                      
                                                                                   
                                                                                   
        Full copy only . . . 2 1. Yes      2. No  (for option 2)                      
        Relative point . . . 0_   0=Last to 99=99th previous (for options 2,3,4 or 8)
        To Timestamp . . . . ____ - __ - __ __ : __ : __ : __ (Inflights resolved)
        To Timestamp Current minus hours..____(1-960) (Inflights resolved)
        To Timestamp Current minus days. .____(1-960) (Inflights resolved)   
        To Logpoint. . . . . ________ (option 5)
        To Logmark . . . . . ________________________________________ (option 8)     
        Resolve Inflights . . 2 1. Yes      2. No  (for options 5 and 8)
        Unrecover RC . . . . 4___Range 0-254
        Email at EOJ . . . . ________EMAILDST Entry name
        EOJ RC . . . . . . ________ Range 0-254
        Email time exceeded. ________EMAILDST Entry name
      ARMGJ02B ============= Batch Object Set JCL Generation Options =====================
      Command ===> _________________________________________________________________
                                                                                    
      Log Only . . . . . . 2 1. Yes      2. No                                      
      Sitetype . . . . . . 1 1. LOCAL    2. RECOVERY                                
      JCL type . . . . . . 1 1. LOCAL    2. DR                                      
      Check unchanged. . . 2 1. Yes      2. No  (exclude unchanged from recovery)   
      ObjectSet syntax . . 1 1. Yes      2. No            (for BMC RECOVER only)   
      Analyze. . . . . . . 1 1. Yes      2. No   3. Only  (for BMC RECOVER only)   
      Simulate recovery. . 2 1. Yes      2. No            (for BMC RECOVER only)   
      Backout. . . . . . . 3 1. Yes      2. No   3. Auto  (Auto for BMC RECOVER only)
      Recover clones only. 2 1. Yes      2. No
      Indep Outspace. . .  2 1. Yes   2. No (BMC RECOVER only)
      Model. . . ________________________________________________
      To SSID. . _________________
  2. In the Batch Object Set Recovery Point Specification panel, select a recovery type, then specify the other options as described in Options-for-recovery-JCL-generation.
  3. In the Batch Object Set JCL Generation Options panel, enter the SYSUT2 DD statement for batch JCL output (including //).

    Important

    The optional SYSUT4 DD statement may also be available if you are using mirroring as part of your recovery strategy. It is only available when all of the following criteria are true:

    • You are using the Recovery Management for Db2 solution
    • The recovery point is TORESTARTRBA
    • JCLTYPE is DR
    • Mirroring is selected for the object set
  4. When the JCL Specification panel appears, enter a fully qualified output data set name. Beware of the following information:
    • The output data set is used for saving the JCL and must be cataloged. If you do not enclose the output data set name in quotation marks, it is prefixed by your TSO prefix.
    • The job statement must contain a symbolic variable (&#) for the job number. For more information, see Output-data-sets-job-cards-and-symbolic-variables.
  5. Save the JCL data set or submit the job, as required.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*