Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Why does my check reappear after I delete it? Understanding delete processing IBM Health Checker for z/OS User's Guide SC23-6843-02 |
|
The F hzsproc,DELETE command is a onetime action issued against a check. That means that if you issue the F hzsproc,DELETE command to delete a check, it will probably reappear to run the very next time something kicks off ADDNEW processing. No matter how it's kicked off, ADDNEW processing tries to refresh all checks, bringing any temporarily deleted check back in the process. In this section, we'll explain a bit about how delete processing works. But the bottom line is this: If you really want to delete a check permanently, do it in a policy statement. We'll use a scenario to explain why your check keeps coming back.
But first, you'll need to understand that all the relevant facts about
a check routine are contained in a check definition contained in either:
So, if you really want to delete a check permanently, use
a policy statement in an HZSPRMxx member, such as:
Then
issue F hzsproc,ADD,PARMLIB=xx to
add the HZSPRMxx member containing the new policy statement to the
list of members containing the IBM® Health
Checker for z/OS® policy. Now, when something kicks off ADDNEW processing, the system will reactivate all the undeleted check definitions, bringing back CHECK(C,D) but not CHECK(A,B). Note that ADDNEW processing is staged, so that the system will first process all check definitions to add all the checks, bringing back CHECK(A,B). Then however, the system also applies the policy statements, including the statement that deletes CHECK(A,B). In the end, CHECK(A,B) stays deleted when you put the delete in the policy. |
Copyright IBM Corporation 1990, 2014
|