SORD gate, IMMCLOSE function

The IMMCLOSE function is called to immediately close a TCP/IP service. The listener task closes the listening socket and no more connections to the port are permitted. All existing connections are closed and any tasks handling them are abnormally ended.

Input Parameters

LISTEN_TOKEN
is a token representing the opened TCP/IP service.

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.


dfhs3_SORDimmclose.html | Timestamp icon Last updated: Monday, 5 June 2017