Attempting connection to CICS on wrong TCP/IP port
If CICS® Transaction Gateway attempts to connect to CICS on the wrong TCP/IP port an error occurs.
The following error is returned:
The CICS server is listening on a different TCP/IP communications port to the one through which CICS Transaction Gateway is attempting the connection. This is because the SERVER section of the CICS Transaction Gateway configuration file (ctg.ini) is specifying the wrong port number.
Check which port the CICS server is listening on. To check the port an IPIC TCPIPService is defined to listen on in CICS Transaction Server:On TSO option 6, issue the command:
NETSTAT ALLCON (APPLD *CISS*On USS, issue the command:
netstat -a -G *CISS*
This example shows that the IPIC TCPIPService is listening on port 50889 and also that an IPCONN is in use. The generated IPCONN name is 00000007.
IY2GTGA2 0005AD5F Listen Local Socket: 1.23.456.789..1120 Foreign Socket: 2.34.567.890..43066 Application Data: DFHIIY2GTGA2CISSIPIC IP50889 IY2GTGA2 0005DB97 Establsh Local Socket: 1.23.456.789..1120 Foreign Socket: 2.34.567.890..43066 Application Data: DFHIIY2GTGA2CISSIPIC 0000000700000007
- Change the port number in the configuration file (ctg.ini). For more information, see Port.
Application Datastring in the example contains these values:
- The CICS Transaction Server prefix.
- The CICS APPLID.
- The listening transaction CISS for inbound IPIC requests.
- The TCPIPService.
- The TCPIPService name.
- The generated IPCONN name.