Deleting baseline generations by using baseline profiles in batch mode
To delete baseline generations in batch mode
- Make a copy of the JCL in the ACMBDELB member located in hlq.BMCCNTL.
In an ISPF editor, perform the following actions for the placeholders in the JCL as follows:
Placeholder
Action
<INSERT JOB CARD>
Replace with a job card for your environment.
<ACM DOPTS MODULE NAME>
Replace with the Change Manager DOPTS module name that was used during installation. The default DOPTS module name is ACMDOPD1.
<User lib HLQ>
Replace with the HLQ that was used during the installation for your user libraries.
<Run time HLQ>
Replace with the HLQ that was used during the installation for your runtime libraries.
<DSNEXIT>
<DSNLOAD>
If DSNEXIT and DSNLOAD are in your LINKLIST, remove them from JOBLIB statement. Otherwise, replace with the data set names.
<SSID>
Replace with the ID of the Db2 subsystem on which you are running the utility.
- Remove the sample batch baseline commands in the ALUIN DD.
Add the batch baseline delete command for the baseline that you want to delete. For more information about the batch baseline delete command, see DELETE-baseline-command.The following figure displays a sample of the batch delete baseline commands:
***
** DELETE THE EARLIEST GENERATION OF A BASELINE CREATED WITH A BASLINE PROFILE
***
DELETE BLPROFILE(PROFCR.MPSAMP3(-10))
***
** DELETE THE LATEST GENERATION OF A BASELINE CREATED WITH A BASELINE PROFILE
***
DELETE BLPROFIILE(PROFCR.BPCAT01(0))
***
** GENERATE A REPORT THAT LISTS ALL BASELINES CREATED WITH A BASELINE PROFILE AND
** HIGHLIGHTS THE BASELINE IDENTIFIED FOR DELETION.
***
DELETE BLPROFILE(PROFCR.MPSAMP1(-3)) REPORTONLY- Submit the JCL.