HDB Housekeeping

The HDB(HKEEP) operand requests CICS PA to perform housekeeping on the Repository (DDname CPAHDBRG). Housekeeping deletes expired HDB container data sets and DB2 data and removes definitions from the Repository that are no longer required.

The command format is:
CICSPA HDB(HKEEP)

Another function, "Repair Repository using VERIFY command," is only available from the Housekeeping dialog (Option 8 on the Historical Database Menu).

HDB Housekeeping report

Successful completion of the Housekeeping request generates a report that provides information about the list of Container data sets that were deleted. In this example, CICSĀ® PA deleted two Container data sets for HDB CICSWEEK in Repository CICSPROD.CICSPA.XYX.REPOSTRY.

Figure 1. HDB Housekeeping report
 V5R3M0                                                  CICS Performance Analyzer
                                                          HDB Housekeeping Report
 
Housekeeping is being performed against Repository CICSPROD.CICSPA.XYX.REPOSTRY                                         Page  1
                                                                                                                                   
                                                                                                                                   
The following Containers were deleted from the Repository:                                                                           
  Container DSN: CICSPA.HISTORY.CICSWEEK.D03208.T193605.HDB    Reason: Expired   No of Records: 1,323                              
    Created: 2010-09-27-19.36.07.575656  ;  Record Range is from 2010-08-05-08.09.56.246647  to  2010-08-05-08.13.30.750026        
  Container DSN: CICSPA.HISTORY.CICSWEEK.D03208.T200611.HDB    Reason: Expired   No of Records: 1,323                              
    Created: 2010-09-27-20.06.13.182143  ;  Record Range is from 2010-08-05-08.09.56.246647  to  2010-08-05-08.13.30.750026        
                                                                                                                                   
Housekeeping process complete.