IBM Health Checker for z/OS User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using a routine to add checks to the system dynamically

IBM Health Checker for z/OS User's Guide
SC23-6843-02

You can create a routine to add checks dynamically to the system in either Metal C or assembler.

The following examples show the logic of a routines that:
  •  1  Add exit routine, HCEXIT, to the HZSADDCHECK exit.
  •  2  Issue the HZSCHECK service to call the HZSADDCHECK exit to run the exit routine and add checks.
Figure 1. Assembler example: Defining the HZSADDCHECK exit routine r and adding checks
 CSVDYNEX REQUEST=ADD,                                                
            1 
           EXITNAME==CL16'HZSADDCHECK',
           MODNAME==CL8'HCEXIT',
           MESSAGE=ERROR,
           RETCODE=RC,                                                 
           RSNCODE=RS
                                                                       
CHI   R15,8
JNL  NO_ADDNEW   
 2                                                      
HZSCHECK REQUEST=ADDNEW, 
           RetCode=RC,                       
           RsnCode=RS                                             
                                                                                                                                    

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014