Deleting baselines automatically


Use the following procedure to delete baselines automatically, without first creating a baseline, by specifying a value for the DELETEAGE or RETAINMAX keywords in the baseline profile.

When you specify a value for one of these keywords, you can delete all of the baselines that are outside a specified range of dates or a range of numbers.

To automatically delete a baseline

  1. On the BMC AMI Change Manager for Db2 Main Menu, select Baselines, and press Enter.
  2. On the Baseline Action Menu, type the name of a Baseline and select Create a Baseline from a Baseline Profile. Then, press Enter.
  3. On the Baseline Interface panel, specify the Baseline Profile name that you want to use and the Run Type. Then, press Enter.
  4. On the Baseline JCL Processing Interface panel, to delete baselines without first creating a baseline, type Y for NoBaseline.
  5. Specify values for Deleteage and Retainmax. These values will override the values that are specified in the baseline profile.

    Important

    You cannot specify nonzero values for both Deleteage and Retainmax.

  6. Specify the data set names to be used.
    1. (Batch run type) Type the data set name for the JCL that is generated by this process.
    2. Type one of the following options for Diagnostics:
      • (Foreground run type) To display the diagnostics on the terminal, type TERM.
      • To write the diagnostics to a sequential file, type the name of the data set.
      • To write the diagnostics to a print data set, type SYSOUT.
    3. (Foreground run type) If you specified SYSOUT in Step 6.b, specify the Sysout Class.
  7. Select your options for deleting the baselines.
    1. To create the input, select one of the following options:
      • (Foreground run type) Type S to select Create Input.
      • (Batch run type) Type S to select Create JCL.
    2. To review or modify the input to the process, select one of the following options:
      • (Foreground run type) Type S to select Edit Input.
      • (Batch run type) Type S to select Edit JCL.
    3. To delete the baselines, select one of the following options:
      • (Foreground run type) Type S to select Run Report.
      • (Batch run type) To submit the batch JCL, type S to select Submit JCL.
    4. Press Enter.


 

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