DELETE baseline command


The DELETE baseline command deletes the baseline associated with a baseline profile generation number. The DELETE baseline command:

  • Is not affected by the DELETEAGE and REAINMAX ALUIN keywords
  • Does not delete protected baselines
  • Deletes full-recovery baselines

You can use the DELETE baseline command in the batch baseline JCL.

Syntax diagram of the DELETE baseline command

BLProfile_deleteBaselineKeyword_SPE2304.png

Option

Description

profileOwner.profileName

This variable defines the name of the baseline profile used to create the baseline that you want to delete. You can use catalog baseline profiles.

generationNumber

This variable specifies the baseline generation associated with the baseline profile that you want to delete. The named baseline profile is not deleted.

Valid values are from 0 (the latest baseline created) through -10 (the earliest baseline created). Zero (0) is the latest baseline created and -10 is the oldest baseline created using the baseline profile.

REPORTONLY

This option generates a report of all baselines created by using the baseline profile. No baselines are deleted when this option is included. However, the report does indicate which baseline was identified for deletion. For more information, see Sample report.

Examples

The following examples illustrate the use of the DELETE command:

Examples

The following syntax deletes the latest baseline created with the baseline profile:

DELETE BLPROFILE(MVSAMA.BLTEST1(0))

The following syntax deletes the earliest baseline created with the baseline profile:

DELETE BLPROFILE(MVSAMA.BLTEST2(-10))

The following syntax produces a DELETE BASELINE REPORT for the baseline profile specified:

DELETE BLPROFILE(MVSSMP.BSID0009(-4)) REPORTONLY

Sample report

The following figure displays a sample DELETE BASELINE REPORT for the DELETE BLPROFILE(MVSSMP.BSID0009(-4)) REPORTONLY command:

***********************************************************************************************
                              *** DELETE BASELINE REPORT ***                                   
***********************************************************************************************
 Owner     Baseline            Type  Status  Rec  Prot  Date        Gen   Profile              
 --------  ------------------  ----  ------  ---  ----  ----------  ----  ---------------------
 MVSSMP    BSID009H            Cat   Compl        Y     12/07/2022  0     BSID0009             
 MVSSMP    BSID009G            Cat   Compl        Y     12/07/2022  -1    BSID0009             
 MVSSMP    BSID009E            Cat   Compl        Y     12/07/2022  -2    BSID0009             
 MVSSMP    BSID009D            Cat   Compl        Y     12/07/2022  -3    BSID0009             
 MVSSMP    BSID009C            Cat   Compl              11/09/2022  -4    BSID0009             
 MVSSMP    BSID009B            Cat   Compl              11/02/2022  -5    BSID0009             
 MVSSMP    BSID009A            Cat   Compl              11/02/2022  -6    BSID0009             
 ***----------------------------------------------------------------***                          
 BMC56787W BASELINE MVSPXW.BSID009C WAS NOT DELETED BECAUSE THE REPORTONLY
           ALUIN KEYWORD WAS INCLUDED.  
 ***----------------------------------------------------------------***                          



 

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