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.

Chapter 6: Connecting the <strong>Data</strong><strong>Server</strong><br />

Starting the Windows client process<br />

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

prowin32.exe executable. The Windows executable includes support <strong>for</strong> the<br />

<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<br />

<strong>for</strong> the 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<br />

For example, a command line <strong>for</strong> an <strong>OpenEdge</strong> client process that you use to access<br />

an MS <strong>SQL</strong> <strong>Server</strong> database might look like this:<br />

prowin32 mssholder -RO -db demo -dt MSS -ld demo -H host1 -S oserviceA<br />

-U bob -P bobpass<br />

Create a program icon <strong>for</strong> each unique set of connection parameters. See the<br />

“Connecting a schema holder at startup” section on page 219 <strong>for</strong> command-line<br />

in<strong>for</strong>mation and more examples.<br />

Starting the UNIX client process<br />

After starting the remote broker, you start the <strong>OpenEdge</strong> client process on a UNIX<br />

machine by running this executable:<br />

pro<br />

You can supply the connection parameters required by the <strong>Data</strong><strong>Server</strong> when you start<br />

the client process, or you can include them in the Connection Parameters field when<br />

you create a schema holder.<br />

For example, this command starts the <strong>OpenEdge</strong> client, connects a read-only schema<br />

holder named mssholder, and connects the MS <strong>SQL</strong> <strong>Server</strong> demo database using the<br />

mssdemo DSN with the user bob whose password is bobpass:<br />

pro mssholder -RO -db demo -dt MSS -ld mssdemo -H host1 -S oserviceA<br />

-U bob -P bobpass<br />

See the “Connecting a schema holder at startup” section on page 219 <strong>for</strong> descriptions<br />

of the required command line.<br />

216 <strong>OpenEdge</strong> <strong>Data</strong> <strong>Management</strong>: <strong>Data</strong><strong>Server</strong> <strong>for</strong> <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong>

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

Saved successfully!

Ooh no, something went wrong!