How to dynamically update the NODE info for a CCITCPGW connection

Document ID : KB000126223
Last Modified Date : 05/02/2019
Show Technical Document Details
Introduction:
You have a current active CCI connection between two systems and you got a request to change the network information (eg. hostname or ip address) for this one connection. You do not want to shutdown the CCI and/or ENF tasks, so would like to handle this change dynamically. 
Question:
Is there a way to dynamically update CCI node information to change the hostname?
Answer:
The change you are looking to make could be handled simply by following these two steps:

1. Disconnect the active connection using console command -
F CCITCPGW,DISCONN,SYSTEST

- for SSL version:
F CCISSLGW,DISCONN,SYSTEST
 
2. Update the NODE definition using console command -
F ENF,NODE(TCPIPGW,SYSTEM.NEW.HOSTNAME.COM,,SYSTEST)

- for SSL version:
F ENF,NODE(TCPSSLGW,SYSTEM.NEW.HOSTNAME.COM,,SYSTEST)
 


These 2 commands should be all that is needed. Following the issuance of the NODE command, the connection should be eligible to be re-driven automatically.