Generating application recovery simulation JCL
Before you begin
Before you can generate application recovery JCL for simulation purposes, you must perform the following steps:
- Establish a RESTARTRBA in the history file by running the ARMBSRR program (see Task-6-Generating-the-disaster-recovery-simulation-JCL in the System Recovery Simulation section).
- Create remote primary offsite copies for both the system and application objects.
To generate application simulation JCL online
From the main menu, specify Option 1, Application Object Set, and type J or JA beside the object set on the Object Set List panel.The Batch Object Set Recovery Point Specification and the Batch Object Set JCL Generation Options panels will display.
ARMGJ01B ====== Batch Object Set Recovery Point Specification ============
Command ===> _________________________________________________________________
Recover to . . . . . 8 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-40) (Inflights resolved)
To Logpoint. . . . . ____________________ (option 5)
To Logmark . . . . . ________________________________________ (option 8)
Resolve Inflights. . _ 1. Yes 2. No (for options 5 and 8)
Unrecover RC. . . . __Range 0-254
Email at EOJ. . . . ______EMAILDST Entry name
EOJ RC. . . . . . __Range 0-254
Email time exceeded. _______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
Checked unchanged. . 2 1. Yes 2. No (exclude unchanged from recovery)
ObjectSet syntax . . 1 1. Yes2. 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 BMC RECOVER only)
Recover clones only. 2 1. Yes2. No
Indep Outspace . . . 2 1. Yes 2. No(BMC RECOVER only)
Model. . . . . _________________________________________________________________________
To SSID. . . . _______
Optional (for DB2 RECOVER only)
LISTDEF dsn. . . . ________________________________________________________________________
LISTDEF. . . . _________________ (LISTDEF name)On the Batch Object Set JCL Generation Options panel, specify the following values to use application recovery simulation:
Option
Value
Recover to
Specify one of the following values:
- Current
- Common Recovery Point
- Specific Logpoint
- Restart RBA
- Timestamp
Sitetype
Specify one of the following values:
- RECOVERY 1
- LOCAL
Simulate recovery
Yes
Backout
No
1If you specify Sitetype=Recovery, you must have RP or RB copies
- Press Enter to generate JCL.The JCL Specification panel is displayed.
- When the JCL Specification panel appears, enter a fully qualified output data set name. Be aware of the following information:
- The output data set is used for saving the JCL and must be cataloged. If not enclosed in quotes, the output data set will be prefixed by your TSO prefix.
- The job statement must contain a symbolic variable (&#) for the job number.
- If you selected Simulate recovery, BMC AMI Recovery Manager appends .SIM to the data set name if the final node does not end in SIM or .SIM. If you are using the Recovery Management for Db2 solution and you selected Estimate Yes, BMC AMI Recovery Manager appends .EST to the data set name if the final node does not end in EST or .EST. You must have created these GDG bases previously.
- Submit the generated JCL. For an example of the JCL that is generated by this procedure, see Disaster-recovery-simulation-JCL.
To generate application simulation JCL in batch mode
If you do not want to generate the JCL online, you can manually code the SET OPTIONS SIMULATE YES syntax for an ARMBGEN job. The ARMBGEN job generates JCL that you run on your local system to simulate the recovery of the application object set that you specify.
Use the following syntax in the ARMBGEN JCL:
ARMBGEN control statement syntax for SET OPTIONS is shown in the following figure. For more information, see the BMC AMI Recovery Manager for Db2 documentation.