Try OpenEdge Now
skip to main content
DataServer for Microsoft SQL Server
Connecting the DataServer : Starting a remote DataServer : Starting and stopping a broker process from the command line
 

Starting and stopping a broker process from the command line

This section addresses how you can start and stop a broker process from the command line.
To start and stop a broker process from the command line:
1. Set the environment variable MSSSRV to the name of the executable (including the path) of the DataServer for MS SQL Server. Be sure to set this variable on the host machine.
2. To start the DataServer broker process, enter the following command at the system prompt on your Windows host machine. Select a value for service-name from the list of available services in your \OpenEdge-install-dir\system32\drivers\etc\services file:
brokername -H host-name -S service-name
For example, the following command uses the default broker executable. The service name demosv is a service listed in that file:
_probrkr -H paris -S demosv
3. To stop the broker process, enter this command:
proshut -Gw -H host-name -S service-name
After you start the Windows broker process, you are ready to start an OpenEdge client on a PC running in Windows or on a UNIX machine. See Startingthe Windows client process or Startingthe UNIX client process for instructions.