Stopping a connection to a remote CICS subsystem from IMS Connect

You can stop an ISC TCP/IP connection to a remote CICS® subsystem from IMS Connect.

Recommendation: Avoid stopping a connection to a remote CICS subsystem unless the connection did not clean up properly after the connection was shut down in IMS or you need to prevent sessions from opening to the remote CICS subsystem.

Procedure

To stop an ISC TCP/IP connection to a remote CICS subsystem, issue the IMS type-2 command UPDATE IMSCON TYPE(RMTCICS) NAME(rmtcics_id) STOP(COMM)
IMS Connect performs the following actions when an ISC TCP/IP connection to a remote CICS subsystem is stopped in IMS Connect:
  • Informs IMS that communication stopped on the ISC link so that IMS can also terminate the link and any sessions that are assigned to the link.
  • Disconnects the TCP/IP sockets associated with the ISC TCP/IP connection.
  • Changes the status of the connection to STOPPED.
  • Issues a message HWSV4405I to the console and notifies IMS that the connection was stopped.

If IMS Connect receives any messages from IMS for the stopped connection, IMS Connect rejects the message, returns a NAK response message to IMS, and issues message HWSG4040W.