Using a profile to build a recovery job

Recovery jobs can be built from object profiles, utility profiles, and job profiles.

About this task

Complete the following steps to build a recovery job:

Procedure

  1. Specify B in the Cmd line next to the object or job profile you want to build a recovery job for.
  2. On the Build Job panel, specify the following information:
    Figure 1. Build Job for Profile panel
                            Build Job for TSKGE.TEST                       
                                                                           
        Recovery Point         1  ( 1 Current, 2 Timestamp, 3 PIT, 4 RPID) 
        Recovery Timestamp                                                 
                                                                           
        Edit Generated Job       Y           (Yes/No)                      
        Utility Options          E           (Edit/Select)                 
        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                       
     ==> //*                                                               
     ==> //*                                                               
     ==> //*                                                               
    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.
    Utility Options
    (Available when building from Object Profile) Specify E to edit the utility options for recovery prior to building the JCL. Specify S to select a Utility Profile to set utility options with.
    Objects Option
    (Available when building from Utility Profile) Specify E to edit the objects to be recovered. Specify S to select an Object Profile to designate the objects for recovery.
    Edit Recovery Options
    (Available when building from Job Profile) Specify Y to edit or review recovery options before building the JCL. Upon pressing Enter, the Recovery Options panel is displayed.
    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.
  3. Press Enter to continue, or PF3 to cancel.
  4. Specify the UIC timestamp (only if Recovery Resources is set to U).

    If Recovery Resources is set to U on the Recovery utility profile, the UIC Timestamp panel (BSY$UICT) is displayed. You must enter the UIC RUN timestamp and UIC STOP timestamp values, and then restore DBDS from User Image Copy prior to submitting a recovery JCL.

    Figure 2. UIC Timestamp panel (BSY$UICT)
                            UIC Timestamp for TSKGE.TEST                       
                                                                           
        U (UIC) has been set for Recovery Resource type. For this recovery
       resource type, you must do the following:
    
        (1) Input accurate timestamp for the UIC.
    
            UIC RUN  Timestamp     23071223644000000
            UIC STOP Timestamp     23071223644500000
    
        (2) Restore DBDS from UIC by yourself before submitting recovery JCL.
    
       Warning: If either (1) or (2) is not done correctly, DB recovery 
       process may cause unpredictable result.
    
       Press ENTER to process of PF3 to Cencel                                 
    UIC RUN Timestamp
    Specify the start time of User Image Copy creation. The input format is the same as Recovery Timestamp.
    UIC STOP Timestamp
    Specify the stop time of User Image Copy creation. The input format is the same as Recovery Timestamp.
    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. The values for UIC RUN Timestamp, UIC STOP Timestamp (BSY$UICT), and Recovery Timestamp (BSYPRCBD) must satisfy the following condition:
    UIC RUN Timestamp < UIC STOP Timestamp < Recovery Timestamp
    Caution: Although you can create User Image Copy at any time, not all User Image Copies are eligible for database recovery. With the Build Recovery JCL Only option, you can check whether the User Image Copy is eligible prior to restoring DBDS from User Image Copy. See also Eligible User Image Copy.
  5. Submit the JCL.