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
- On the BMC AMI Change Manager for Db2 Main Menu, select Baselines, and press Enter.
- On the Baseline Action Menu, type the name of a Baseline and select Create a Baseline from a Baseline Profile. Then, press Enter.
- On the Baseline Interface panel, specify the Baseline Profile name that you want to use and the Run Type. Then, press Enter.
- On the Baseline JCL Processing Interface panel, to delete baselines without first creating a baseline, type Y for NoBaseline.
Specify values for Deleteage and Retainmax. These values will override the values that are specified in the baseline profile.
- Specify the data set names to be used.
- (Batch run type) Type the data set name for the JCL that is generated by this process.
- 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.
- (Foreground run type) If you specified SYSOUT in Step 6.b, specify the Sysout Class.
- Select your options for deleting the baselines.
- 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.
- 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.
- 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.
- Press Enter.
- To create the input, select one of the following options:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*