Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Host Server (ENDHOSTSVR) command is used to end the optimized host server daemons. One or more server daemons can be ended and the server mapper daemon can be ended. Optionally, active connections to the *DATABASE and *FILE servers can be ended with this command.
If a server daemon is ended, and there are servers of that type that have active connections to client applications, the server jobs will remain active until communication with the client application is ended, unless the optional ENDACTCNN parameter is specified. Subsequent connection requests from the client application to that server daemon will fail however until the server daemon is started again.
If the server mapper daemon is ended, any existing client connections to the server jobs are unaffected. Subsequent requests from a client application to connect to the server mapper daemon (to obtain a server's port number) will fail however until the server mapper is started again.
A request to end *ALL host server daemons will end any active daemons.
The ENDACTCNN parameter may be specified in order to end active connections to the *DATABASE and *FILE servers. This will cause the server jobs which are servicing these connections to be ended. The active connections can only be ended if the corresponding daemon job is also being ended. If the *DATABASE keyword is specified, the QZDASOINIT and QZDASSINIT jobs which have active connections will be ended. If the *FILE keyword is specified, the QPWFSERVSO and QPWFSERVSS jobs which have active connections will be ended.
None
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SERVER | Server type | Single values: *ALL Other values (up to 8 repetitions): *CENTRAL, *DATABASE, *DTAQ, *FILE, *NETPRT, *RMTCMD, *SIGNON, *SVRMAP |
Required, Positional 1 |
ENDACTCNN | End active connections | Single values: *NONE Other values (up to 2 repetitions): *DATABASE, *FILE |
Optional, Positional 2 |
Top |
Specifies the server daemons to be ended.
The possible values are:
Top |
Specifies whether or not the active connections for the specified servers will be ended.
Single Value
Specific Server Values
Top |
Top |
None
Top |