How to prevent Database Management for Db2 for z/OS health check routines from executing.
DELETE a health check using an operator modify command:
F hcheck,DELETE,CHECK=(HEALTH CHECK OWNER, HEALTH CHECK NAME)
Below are some examples of deleting Db2 tools for z/OS health checks:
DELETE a health check using SYS1.PARMLIB member HZSPRMxx:
Following is the format of an ADDREPLACE POLICY statement used to delete health checks.
ADDREPLACE POLICYDELETE CHECK(HEALTH CHECK OWNER, HEALTH CHECK NAME) DATE(YYYYMMDD) REASON('Do not run DB2 tools health checks.')
The following ADDREPLACE POLICY statement will cause all Db2 tools for z/OS health checks to be deleted:
ADDREPLACE POLICY DELETE CHECK(CA_DB2,*) DATE(20110718) REASON('Do not run DB2 tools health checks.')
The following ADDREPLACE POLICY statement will cause a specific Db2 tools for z/OS health heath check to be deleted:
ADDREPLACE POLICY DELETE CHECK(CA_DB2,DB2_PLC_PLC_DCOMP_ACT@PTXRUN14) DATE(20110718) REASON('Do not run DB2 tools health checks.')
The following ADDREPLACE POLICY statement will cause all Db2 tools for z/OS heath checks to be deleted with a health check name beginning with DB2_:
ADDREPLACE POLICY DELETE CHECK(CA_DB2,DB2_*) DATE(20110718) REASON('Do not run DB2 tools health checks.')
Health check(s) may remain active with ADDREPLACE POLICY DELETE statements in HZSPRMxx.
When Db2 tools for z/OS health checks remain active, it is recommended that the date specified on the ADDREPLACE POLICY DELETE be set to the current date. The date specified on the ADDREPLACE POLICY DELETE can become out of date due to subsequent maintenance to the Db2 tools for z/OS health check routines.
System symbolics may also be used for the POLICY DATE so it will not expire.
The following is an example of using system symbolics within the DATE syntax:
ADDREPLACE POLICY DELETE CHECK(CA_DB2,*) DATE(&YR4&LMON&LDAY) REASON('DO NOT RUN DB2 TOOLS HEALTH CHECKS')