skip to main content
OpenEdge Data Management: DataServer for ODBC
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

You must follow specific steps to start and stop a broker process from the command line.
To start and stop a broker process from the command line at the DOS shell prompt:
1. Set the environment variable ODBSRV to the name of the executable (including the path) of the DataServer for ODBC. 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 \windows-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 Windows or on a UNIX machine. See Starting the Windows client process or Starting the UNIX client process for instructions.