The Gateway daemon can monitor certain error codes to determine the health of communications with CICS®.
Health reporting can be enabled for use in TCP/IP load balancing topologies, with CICS Transaction Gateway running in remote mode. The interval used for this monitoring is specified by the health interval. Health reporting requires the IWM4HLTH macro.
The load balancer can use health information to set priorities when creating new incoming IP socket connections to Gateway daemons in the load balancing group. To enable TCP/IP port sharing to use the health information for load balancing decisions, set SHAREPORTWLM on the PORT definition. To enable Sysplex Distributor to use the health information for load balancing decisions, set SERVERWLM on the VIPADISTRIBUTE statement.
For information about how health is calculated, see Health monitoring.