Timeout specifications for IMS TM clients
For IMS Connect clients that access IMS TM, you can specify timeout values in the TCP/IP and DATASTORE configuration statements, as well as in the IMS Request Message (IRM) header of input messages.
- How long IMS Connect keeps a connection open if the client does not send any input after the connection is first established. The TIMEOUT parameter sets this limit.
- How long IMS Connect keeps a connection that is in RECV state open after the prior client interaction completes. This limit can be set by the IDLETO parameter in the TCPIP configuration statement or by CREATE IMSCON commands.
- How long IMS Connect waits for a response from IMS before IMS Connect notifies the client of the timeout and returning the socket connection to a RECV state. This limit is also set by the TIMEOUT parameter and is overridden by input messages that specify a timeout interval in the IRM.
The idle connection timeout value (IDLETO) applies only to ports that are used for communication with IMS TM. IMS TM ports are defined by the PORT or PORTID parameter in the TCPIP statement or as PORTTYPE(REG) by the CREATE IMSCON command. The IDLETO value can be set in the TCPIP configuration statement or by using the IMS type-2 CREATE IMSCON TYPE(PORT), UPDATE IMSCON TYPE(PORT), or UPDATE IMSCON TYPE(CONFIG) command.
In the DATASTORE configuration statement, the ACKTO keyword controls how long OTMA waits for acknowledgements from IMS Connect before rerouting the output to a tpipe hold queue.
The timeout values specified on the TCPIP and DATASTORE configuration statements can also be specified in the IRM message header on messages received from IMS TM clients.
The IRM can also be used to specify how long the client waits for output after issuing a resume tpipe request.