Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
HIS.SERVSTAT— HISSERV Service Exit z/OS MVS Installation Exits SA23-1381-00 |
|
Topics for This Exit Appear as Follows: The HIS.SERVSTAT exit will be defined by IBM. Any authorized program that wants to know the state of the HISSERV service can register with the HIS.SERVSTAT dynamic exit. For example, an exit can provide a bootstrap process for potential exploiters of the HISSERV service, as a mechanism to know when a program is able to begin exploiting the service. Exit routines are called for the following reasons:
The HISYEXIT macro maps the storage passed to a HIS exit routine that is monitoring the service. Controlling the Exit Routine Through the Dynamic Exits FacilityThe exit routine is defined by registering an exit routine with the HIS.SERVSTAT dynamic exit. Note exit routines registered with the HIS.SERVSTAT dynamic exit do not have the ability to receive instrumentation data, only monitor the state of the service. You can use the CSVDYNEX macro to control the HIS.SERVSTAT dynamic exit and its exit routines. You can
use the ADDABENDNUM and ABENDCONSEC parameters on the CSVDYNEX REQUEST=ADD
macro to limit the number of times the exit routine abnormally ends
before it becomes inactive. An abend is counted when both of the following
conditions exist:
By default, the system will disable the exit routine after 3 consecutive abends. Replacing the Exit RoutineFor information about replacing a dynamic exit routine, see Replacing a Dynamic Exit Routine. Exit Routine EnvironmentThe
exit routine receives control in the following environment:
Exit RecoveryThe exit routine should provide its own recovery. If the exit routine abnormally terminates, its recovery routine will get control. If the exit routine abnormally terminates, and the exit routine does not provide its own recovery, or the error percolates beyond the exit's recovery routine, a system recovery routine will get control. If this occurs 3 consecutive times, the exit routine will be disabled. Exit Routine ProcessingThe system invokes the HIS.SERVSTAT exit routine or routines, if they are registered to the dynamic exits facility, anytime the HISSERV service has enabled, started, stopped, or has disabled. Using
the Information in the Parameter List:The system passes the
address of a list of parameters to the exit routine. The parameters
contain the following information:
See macro HISYEXIT in z/OS MVS Data Areas, Vol 2 for more details on the interface. Programming ConsiderationsObserve
the following conventions when coding the HIS.SERVSTAT Exit routine:
Macro Instructions and Restrictions: The exit is not allowed to issue a HISSERV REQUEST=PROFILE request, or wait on a resource held by another work unit which might issue a HISSERV REQUEST=PROFILE request. Be aware that the exit can create performance degradation. Do not perform unnecessary tasks. Do not code the exit routine to invoke dynamic allocation. Entry SpecificationsThe system passes the address of the exit parameter list to the exit routine. Registers at Entry: The contents of the registers on entry to the exit are as follows.
Parameter Descriptions: Register 1 contains the address of the exit parameter list, which is mapped by macro HISYEXIT in z/OS MVS Data Areas, Vol 2. Return SpecificationsThe interface does not provide any field for a response; the exit does not need to return a valid value. Registers at Exit: Upon return from the exit processing, the register contents must be as follows.
Coded Example of the Exit RoutineThere is no coded example of this exit routine in SYS1.SAMPLIB. |
Copyright IBM Corporation 1990, 2014
|