Limited support BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see ALTER and BMC AMI Change Manager for Db2 13.1.

Using a script to create a full-recovery baseline


Use the following procedure to create a full-recovery baseline using the CREATE_FULL_RCV_BL script in the CM/PILOT component of BMC AMI Change Manager for Db2 to generate an Analysis worklist.

A full-recovery baseline provides you with a recovery point for old data structures and old data. You can also use it to recover your data structures with current data.

You can also create your own script to create a baseline and then generate a baseline report. For more information about scripts, see Using-scripting-tools-to-automate-change-management.

Before you begin

Using Change Manager, create a catalog baseline profile.

Tip

To create a catalog baseline profile, see Creating-a-catalog-baseline-profile.

To create a task ID

  1. On the BMC AMI Change Manager for Db2 Main Menu, select CM/PILOT, and press Enter.
  2. On the CM/PILOT Main Menu, select TASKIDs and press Enter.
  3. On the TASKID Action Menu, type the name of a new TASKID and select Create a TASKID. Press Enter.
  4. On the Script Selection List, select Create a Full-Recovery Baseline, and press Enter.
  5. On the Create TASKID panel, specify the information for a task ID.
    1. CM/PILOT uses the name of the task ID as the name for a new alter-type work ID. You can type a different name for WORKID or type the name of a work ID name template.
    2. (Optional) Type the name of a CM/PILOT Application. An Application groups a set of Change Manager profiles. For more information about Applications, see Using-scripting-tools-to-automate-change-management.
    3. (Optional) Specify a Comment to describe the task ID.
    4. Press END.The task ID is created and the TASKID Action Menu is displayed.

To execute the task ID

  1. On the TASKID Action Menu, select Execute a TASKID and press Enter.
  2. On the TASKID Interface panel, specify the data set names to be used by CM/PILOT.
    1. Type the data set name for the CM/PILOT Worklist.
    2. Type the data set name for the CM/PILOT JCL.
    3. Type the data set name for Diagnostics or type SYSOUT.
  3. Select the method of executing the CM/PILOT worklist.For more information about executing a CM/PILOT worklist, see Processing-CM-PILOT-worklists.
  4. (Optional) Override the options that are set in Change Manager.
    1. Type S to select Override 

      Change Manager

       options and then press Enter.

    2. On the Override Change Manager Options panel, select Override 

      Change Manager

       Options.

    3. Type S to select the Change Manager Analysis and Execution options that you want to override, and press Enter.For more information about the Change Manager options, see Using-options-to-control-your-environment.

      Warning

      BMC does not recommend that you select the Autosubmit override option. This powerful option automatically submits the JCL, which is created from the CM/PILOT generated worklist, to Execution. When you use the Autosubmit override option, use caution because any error in your specifications might cause significant damage to your schemas and a loss of data.

    4. Press END until the TASKID Interface panel is displayed.
  5. On the TASKID Interface panel, create a CM/PILOT worklist.
    1. Type S to select Create Worklist. Then, press Enter.
    2. On the Step Settings panel, to modify the execution step in the script, type S to select Step 2 Execution step. Then, press Enter.
    3. On the TASKID Execution Step Options panel, after you specify your step options, press Enter until the TASKID Baseline Profiles panel is displayed.
    4. On the TASKID Baseline Profiles panel, type the name of an existing Baseline Profile to be used in this task ID or type a wildcard pattern and select a profile from the list. Then, press Enter.
    5. On the TASKID New Baselines panel, specify the information for the new baseline.
      1. Type the name of the baseline.
      2. To protect the baseline from deletion, type Y to select Protect.
      3. Press Enter.
    6. On the Change Manager Datasets panel, specify the data set names to be used by the Analysis and Execution components of Change Manager. Then, press END until the TASKID Interface panel is displayed.
  6. On the TASKID Interface panel, select your options for processing the CM/PILOT worklist.
    1. To edit the CM/PILOT worklist, type S to select Edit Worklist.
    2. To create the JCL to run the worklist, type S to select Create JCL.
    3. To review or modify the JCL, type S to select Edit JCL.
    4. To submit the JCL to run the CM/PILOT worklist, type S to select Submit JCL.
    5. Press Enter.CM/PILOT creates an Analysis worklist and the Execution JCL that is required to run the worklist.
  7. To create a full-recovery baseline, execute the Analysis worklist.

    Note

    The JCL that you use to execute the Analysis worklist is contained in the data set that you specified for JCL Dataset Name in the Change Manager Datasets panel.

 

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