Command Reference Guide

Object Server Commands
SQL/MX Connectivity Service Administrative Command Reference526350-005
4-6
Example—STOP SERVER
Stopping a DS stops all servers it owns on the specified SERVICE.
Stopping a service stops all servers it owns.
Client connections can change rapidly. Issue INFO SERVER DETAIL before
issuing STOP server to verify that the server is connected to the appropriate client.
If the target server does not exist, STOP SERVER returns an error.
If no client is connected to the target server, it terminates immediately.
If the server is already in the stopping state, STOP SERVER returns only a
success message.
To start and stop DS trace and statistics attributes for all servers owned by a DS,
use the ALTER DS command.
Example—STOP SERVER
This example stops the server $Z0123 owned by $AS:
CS>STOP SERVER $AS.$z0123;
-- STOP SERVER \ODBC.$AS.$Z0123 Successful