Find examples of using the ENDHOSTSVR command.
Example 1: Ending all host server daemons
ENDHOSTSVR SERVER(*ALL)
This command ends all the server daemons and the server mapper daemon.
Example 2: To end specific server daemons
ENDHOSTSVR SERVER(*CENTRAL *SVRMAP)
End the central server daemon and the server mapper daemon.
Example 3: Ending specific server daemons and active connections
ENDHOSTSVR SERVER(*CENTRAL *DATABASE) ENDACTCNN(*DATABASE)
This command ends the central server daemon in the QSYSWRK subsystem and the database server daemon in the QSERVER subsystem. Additionally, the active connections to the *DATABASE server, and the QZDASOINIT and QZDASSINIT server jobs that are servicing these connections will end.