Stopping a DirectConnect Server

Use the stopsrvr utility to stop the DirectConnect server, which shuts down the server and ends all client connections.

Set the environment variables from a command prompt by executing the appropriate script for your platform:
  • DC_SYBASE.csh

  • DC_SYBASE.sh

The stopsrvr format is:
stopsrvr [-v|-?|-h] -Sserver_name [-ddelay]
where:
  • -v displays the program version only.

  • -? or -h displays the Help screen.

  • -S defines the name of the server to be shut down.

  • -d is the delay, in seconds, before client connections are terminated. The default is 3.