Defining multiple local or REXX checks in a single HZSADDCHECK exit routine

To reduce system overhead and simplify maintenance, you can and should define multiple uniquely-named checks in a single HZSADDCHECK exit routine. Defining multiple checks in one HZSADDCHECK exit routine will streamline the identification and registration process for a component or product, so that you need only one HZSADDCHECK exit routine and one check routine for your checks.

If you put multiple checks in one check routine (which is recommended), use the ENTRYCODE parameter on HZSADDCK to assign an entry code to each check. For a non-REXX check, the entry code is passed to the check routine in the PQE_ENTRY_CODE field in the HZSPQE mapping macro. For a REXX check, it is passed to the check exec in REXX variable HZS_PQE_ENTRY_CODE.

Note that the IBM Health Checker for z/OS will not verify the uniqueness of the entry codes you define for your checks.