End TCP/IP Server (ENDTCPSVR) CL command
The End TCP/IP Server (ENDTCPSVR) command ends the DDM server.
If the DDM listener is ended, and there are associated server jobs that have active connections to client applications, the server jobs will remain active until communication with the client application is ended. Subsequent connection requests from the client application will fail, however, until the listener is started again.
- End TCP/IP server restrictions
If the End TCP/IP Server (ENDTCPSVR) command is used to end the DDM listener when it is not active, a diagnostic message will be issued. This same diagnostic message will not be sent if the listener is not active when an (ENDTCPSVR) SERVER(*ALL) command is issued.
- Example: Ending TCP/IP server
This topic contains some examples of ending TCP/IP servers.
Parent topic:
TCP/IP communication support concepts for DDM
Related reference
End TCP/IP Server (ENDTCPSVR) command