SORD gate, DEREGISTER function
The DEREGISTER function is called to close a TCPIPSERVICE. The listener task closes the listening socket and no more connections to the port are permitted. Any tasks handling existing connections are allowed to end normally.
Input Parameters
- LISTEN_TOKEN
- is a token representing the opened tcpipservice.
- DNSGROUPNAME
- Optional Parameter
- The group name with which CICS registers to Workload Manager, for connection optimization.
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOCK_FAILURE
- LOOP
- UNKNOWN_POST_CODE
- The following values are returned when RESPONSE is EXCEPTION:
- AT_MAXSOCKETS
- INSUFFICIENT_STORAGE
- NOT_PERMITTED_TO_BIND
- PORT_IN_USE
- TCPIP_CLOSED
- TCPIP_INACTIVE
- TCPIP_SERVICE_ERROR
- UNKNOWN_ADDRESS
- UNKNOWN_LISTEN_TOKEN
- 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.