Generating batch recovery JCL interactively
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.
- Select an object set or object sets for processing, as follows.
- 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.
If you begin in the Object List panel, select the 3. Gen recover JCL background processing option and then press Enter.
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 nameARMGJ02B ============= 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. . _________________
- 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.
In the Batch Object Set JCL Generation Options panel, enter the SYSUT2 DD statement for batch JCL output (including //).
- 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.
- 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*