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.

Related reference
End TCP/IP Server (ENDTCPSVR) command