ENDTCPSVR (End TCP/IP Server) Command
Purpose
The ENDTCPSVR command is used to end the TCP/IP application server jobs that
are specified in the SERVER parameter. If the jobs have any current active
connections, these connections are ended immediately. If the ENDTCPSVR command
is used to end a server that is not active, a diagnostic message may be
returned.
Optional Parameter
SERVER Specifies which of the TCP/IP application server jobs is to
be ended by this command.
*ALL: All of the TCP/IP server jobs are ended.
*SNMP: All jobs associated with the SNMP agent in the QSYSWRK
subsystem are ended.
*ROUTED: The RouteD server job is ended.
*BOOTP: All bootstrap protocol (BOOTP) server jobs are ended.
*TFTP: All Trivial File Transfer Protocol (TFTP) server jobs are
ended.
*DNS: The Domain Name System (DNS) server job is ended.
*DHCP: The Dynamic Host Configuration Protocol (DHCP) server job
is ended.
*DDM: The program that listens for DDM and DRDA connect requests,
and dispatches pre-started jobs to service them, is ended.
*TELNET: All TELNET server jobs are ended.
*FTP: All FTP server jobs are ended.
*SMTP: All jobs associated with SMTP in the QSYSWRK subsystem are
ended. The bridge job in the QSNADS subsystem is not ended.
*LPD: All LPD server jobs are ended.
*HTTP: All instances of the World Wide Web HyperText Transfer
Protocol (HTTP) server are ended unless:
° You specify a specific server instance name on the HTTPSVR parameter. When
you specify a specific server instance, only that instance is ended.
° You specify the *ADMIN value on the HTTPSVR parameter. When you specify
HTTPSVR(*ADMIN), only the administration server is ended.
To end all instances of the HTTP server, specify one of the following:
ENDTCPSVR SERVER(*HTTP) ENDTCPSVR
SERVER(*HTTP) HTTPSVR(*ALL)
The HTTP server is also known as the Internet Connection Server (ICS) and the
Internet Connection Secure Server (ICSS). For more information see, HTTP Server
for AS/400 Webmaster's
Guide, GC41-5434-03.
*WSG: All 5250/Hypertext Markup Language (HTML) Workstation
Gateway (WSG) server jobs are ended.
*POP: All Post Office Protocol (POP) Version 3 server jobs are
ended.
*REXEC: All REXEC server jobs are ended.
*NSMI: The Network Station Manager Inventory (NSMI) server job is
ended.
| *DCE: All Distributed Computing Environment (DCE) server
jobs are | ended.
| *DIRSRV: The DIRSRV server job is ended.
HTTPSVR Specifies the name of the HTTP server instance to end. The
SERVER parameter specified must be *HTTP or this parameter is ignored.
If multiple HTTP server instances have been defined, you can choose to end
all instances, or end one specific instance by specifying the instance name to
be ended.
*ALL: All instances of the HTTP server that are currently running
are ended.
*ADMIN: The Administration Server is ended. The Administration
Server is an instance of the HTTP server that allows administration of certain
AS/400 functions using a Web browser.
server-instance-name: The specified HTTP server instance is ended.
Examples
Example 1: Ending All TCP/IP
Servers
ENDTCPSVR
This command ends all active TCP/IP application server jobs running in the
QSYSWRK subsystem.
Example 2: Ending the LPD Servers
ENDTCPSVR SERVER(*LPD)
This command ends the TCP/IP LPD application server jobs.
|