SOLS gate, LISTEN function
This function listens for incoming connections. The ports to listen on are controlled by installing and opening TCPIPSERVICE definitions. The function is called from the system task CSOL that is attached by the socket domain at startup. It returns when TCP/IP is closed or CICS shuts down.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOCK_FAILURE
- LOOP
- The following values are returned when RESPONSE is EXCEPTION:
- CONNECTION_CLOSED
- The following values are returned when RESPONSE is INVALID:
- INVALID_FORMAT
- INVALID_FUNCTION
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.