13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Connecting the <strong>Data</strong><strong>Server</strong><br />

6–6<br />

Starting and stopping a broker process from the<br />

command line<br />

This section addresses how you can start and stop a broker process from the command line.<br />

To start and stop a broker process from the command line:<br />

1. Set the environment variable MSSSRV to the name of the executable (including the path) of<br />

the <strong>Data</strong><strong>Server</strong> <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong>. Be sure to set this variable on the host machine.<br />

2. To start the <strong>Data</strong><strong>Server</strong> broker process, enter the following command at the system prompt<br />

on your Windows host machine. Select a value <strong>for</strong> service–name from the list of available<br />

services in your \<strong>OpenEdge</strong>-install-dir\system32\drivers\etc\services file:<br />

brokername -H host-name -S service-name<br />

For example, the following command uses the default broker executable. The service<br />

name demosv is a service listed in that file:<br />

_probrkr -H paris -S demosv<br />

3. To stop the broker process, enter this command:<br />

proshut -Gw -H host-name -S service-name<br />

After you start the Windows broker process, you are ready to start an <strong>OpenEdge</strong> client on a PC<br />

running in Windows or on a UNIX machine. See the “Starting the Windows client process”<br />

section on page 6–6 or the “Starting the UNIX client process” section on page 6–7 <strong>for</strong><br />

instructions.<br />

Starting the Windows client process<br />

Start the <strong>OpenEdge</strong> client process on your Windows machine by running the prowin32.exe<br />

executable. The Windows executable includes support <strong>for</strong> the <strong>Data</strong><strong>Server</strong>.<br />

You can create a program icon <strong>for</strong> the <strong>OpenEdge</strong> client process. On the command line <strong>for</strong> the<br />

program icon, enter the following in<strong>for</strong>mation:<br />

1. The executable<br />

2. The schema holder name<br />

3. The connection parameters required by the remote <strong>Data</strong><strong>Server</strong> configuration

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!