Building a recovery job
The On-demand Recovery job allows the user to dynamically create a recovery job without relying on pre-defined Object, Utility, or Job Profiles.
About this task
Procedure
- Specify 1 on the On-Demand Operations Menu panel.
- Specify an SSID on the Enter SSID for On-Demand Processing panel.
-
On the Build Job for On-Demand Recovery panel, specify the following
information:
Figure 1. Build Job for On-Demand Recovery panel Build Job for On-Demand Recovery Recovery Point 1 ( 1 Current, 2 Timestamp, 3 PIT, 4 RPID) Recovery Timestamp Edit Generated Job Y (Yes/No) Build Recovery JCL Only N (Yes/No) Build job in Dataset BSY.TST0220.SAMPLIB Member BSY#IERQ Job Cards: ==> //OBJREST JOB TS5866,CLASS=A,NOTIFY=&SYSUID ==> //* ==> //* ==> //* Press ENTER to process or PF3 to Cancel
- Recovery Point
- Specify 1 to recover the objects to the current point in time. Specify 2 to recover the objects to a selected timestamp. Specify 3 to recover the objects to a selected point in time. Specify 4 for a list of quiet times to recover the application.
- Recovery Timestamp
- If you specified 2 or 3 in the Recovery
Point field, specify a timestamp in the Recovery Timestamp
field.
Time timestamp can be specified in a local timestamp format (yydddhhmmssthmiju or yydddhhmmsst) or in a UTC timestamp format (yydddhhmmsstShhmm), where Shhmm is a numeric offset that, when added, gives local time. For S, specify a plus (+) or minus (-) sign. For hh, specify a numeric value between 00 and 14. For mm, specify a value from the set [00, 15, 30, 45] such that Shhmm is a value between -1100 and +1400.
- Edit Generated Job
- Specify Y to view the job in an ISPF edit session after generation. If you specify N, you will return to the previous panel after the job is generated.
- Build Recovery JCL Only
- Specify Y if you want the generated job to build the JCL required to perform database recovery, but to not submit the jobs.
- Build job in Dataset member
- Specify the fully qualified data set name (without quotes) where you want to save the generated job. This data set must exist and can be sequential or a PDS. If the data set is a PDS, specify a member name. If the member does not exist, IMS Recovery Expert will create it.
- Job Cards
- Specify a valid job card for your site.
- Press Enter, or PF3 to cancel.
-
On the Add Objects panel, specify whether you want to Add
Databases, Add Indexes, or Add Groups by
specifying Y in all the fields that apply.
Figure 2. Add Objects panel Add Objects Add Databases N (Yes/No) Add Indexes N (Yes/No) Add Groups N (Yes/No) Press ENTER to process or PF3 to Cancel
-
In the Enter Databases/Indexes/Groups Like to Display panel, specify the
following information:
- Specify a filter in the Database Like field to filter search results.
- Specify Y in the Wildcard field to automatically add all objects that meet your criteria into the profile. An object list will not be presented. When the profile is used, IMS Recovery Expert dynamically expands the added name.
- Specify I to include databases you select in the subsequent panel, or specify E to exclude them.
- Specify Y in the Process Dependent Indexes field to dynamically include indexes that are dependent on the selected databases.
- Specify Y in the Process Logical Relations field to dynamically include databases that are logically related to the selected databases.
Note: The options you are given will depend upon your selection on the Add Objects panel. - Press Enter.
- If you specified to Add Databases, from the Include Database Selection panel, enter S in the Cmd line next to databases you would like to include or exclude, depending on what was specified on the Enter Databases Like to Display panel, and press Enter to confirm. Press PF3 when you've finished selecting databases.
- If you specified to Add Indexes, from the Include Database Selection panel, enter S in the Cmd line next to the indexes you would like to include or exclude, depending on what was specified on the Enter Indexes Like to Display panel, and press Enter to confirm. Press PF3 when you've finished selecting indexes.
- If you specified to Add Groups, from the Include Database Selection panel, enter S in the Cmd line next to the groups you would like to include to exclude, depending on what was specified in the Enter Groups Like to Display panel, and press Enter to confirm. Press PF3 when you've finished selecting groups.
-
Press Enter and then PF3 to return to the Update Object Profile Display
panel. The selected databases will be listed in the order that they were added to the object
profile.
From this panel, users can EXPLODE the list of objects to include or exclude, or Add and delete objects.
-
Once finished, press PF3 to display the Recovery Options panel. Specify
the following information on the Recovery Options panel:
Figure 3. Recovery Options panel IMS RE V2R2 -------------- Recovery Options -------------------- Top of data Option ===> ------------------------------------------------------------------------------- Creator: ****** Name: ****** SSID: IDA Share Option: U (Upd,View,No) Description: ********** ------------------------------------------------------------------------------- Enter the Recovery options: Recovery Resources ==> A (All/Slb/Ic) Edit Options N (Yes/No) Execute Recovery ==> Y (Yes) Edit Options N (Yes/No) Execute Index Rebuild ==> N (Yes/No) Edit Options N (Yes/No) Execute Change Accum ==> N (Yes/No) Edit Options N (Yes/No) Create Post Recovery IC ==> N (Yes/No) Edit Options N (Yes/No) Update Spawned Job Options ==> N (Yes/No) Action on Warnings ==> C (Continue/Wtor/Abort) GENJCL Defaults Member ==> IERQ Datasets for GENJCL ==> _________________________________________ ==> _________________________________________ ==> _________________________________________ ==> _________________________________________ ==> _________________________________________
- Recovery Resources
- Specify which recovery resources to consider for recovery. Specify A for
all resources (System Level Backups and image copies), S for System Level
Backups only, or I for image copies only.
Specify Y in the Edit Options field to specify SLB-only parameters for recovery. For more information, see Setting SLB parameters.
- Execute Recovery
- The only valid value for this field is Y.
- Execute Index Rebuild
- Specify Y (Yes) or N (No) to indicate whether you
want to perform index rebuild.
Specify Y in the Edit Options field to specify index rebuild options. For more information, see Setting index rebuild options.
- Execute Change Accum
- Specify Y (Yes) or N (No) to indicate whether you
want to execute change accumulation prior to executing the recovery utility.
Specify Y in the Edit Options field to specify change accumulation options. For more information, see Setting change accumulation options.
- Create Post Recovery IC
- Specify Y (Yes) or N (No) to indicate whether you
want to create image copies for recovered databases.
Specify Y in the Edit Options field to specify Post Recovery Image Copy options. For more information, see Setting post recovery image copy options.
- Update Spawned Job Options
- Specify Y (Yes) to specify Spawned Job options or N (No) to use the default method for generating the jobcard and/or jobname. For more information, see Setting spawned job options.
- Action on Warnings
- Specify how you want to process warnings that are issued during recovery. Specify C to continue, W to issue a WTOR, or A to abort.
- GENJCL defaults member
- Specify a member to be used as the GENJCL defaults when GENJCL is executed. If specified, this member will be included in the DATASETS() keyword.
- Datasets for GENJCL
- Specify up to 5 data sets for GENJCL skeletons. The data sets are concatenated in the specified order.
-
Once finished, press PF3 to display the JCL that can be submitted to perform recovery.
The created JCL has two new DD statements that are needed for On-Demand processing, since there is no Object or Utility Profile being used.
- The BSY#OBJS DD statement includes a definition for each object being processed.
- The BSY#RECO DD statement includes parameters which define the set of recovery options to be used.