How can I delete checks while IBM Health Checker for z/OS is terminating?

While IBM® Health Checker for z/OS® is in the process of terminating, you may get a message that the system is waiting for checks to complete before termination itself can complete:
HZS0020E WAITING FOR CHECKS TO COMPLETE
The wait might be longer if you have System REXX checks running on the system. But if you try to speed up the process of IBM Health Checker for z/OS termination by deleting checks using the hzsproc,DELETE command, you will find that neither that command nor most other hzsproc commands work during the termination process.
However, you can use the following command to delete all the checks during termination of IBM Health Checker for z/OS:
F hzsproc,DELETE,CHECK=(*,*),FORCE=YES
Make sure that the FORCE=YES option is what you want:
  • FORCE=YES issued against a remote check will result in a non-retriable abend.
  • FORCE=YES will delete checks that are still in the process of running.

The only other hzsproc command that will work during the termination process is the hzsproc,DISPLAY,CHECKS command.