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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5: Configuring the <strong>Data</strong><strong>Server</strong><br />

Connecting to a MS <strong>SQL</strong> <strong>Server</strong> <strong>Data</strong><strong>Server</strong> broker using the Name<strong>Server</strong><br />

This section presents an example of how to connect to a MS <strong>SQL</strong> <strong>Server</strong> <strong>Data</strong><strong>Server</strong><br />

using the Name<strong>Server</strong>.<br />

To connect to a MS <strong>SQL</strong> <strong>Server</strong> <strong>Data</strong><strong>Server</strong> using the Name<strong>Server</strong>:<br />

1. Create a schema holder.<br />

2. Set your MS <strong>SQL</strong> <strong>Server</strong> instance username (-U) and password (-P) connection<br />

parameters <strong>for</strong> the schema holder.<br />

Progress Software Corporation recommends that you use the -U and -P<br />

convention to establish the username and password.<br />

3. Set up your connection, using parameters to run the schema holder. This step<br />

shows examples from which you can model your connection:<br />

a. The following example shows how to set up the connection in Windows in a<br />

single-user mode:<br />

prowin32 f:\wrk\holder -1 -RO -db MSS_DB_DSN -ld MSS_DB_INS -dt MSS<br />

-H MSS_DSRV_Host -S 5162 -<strong>Data</strong>Service mssbroker1 -Dsrv SVUB,1<br />

Note that although the schema holder is defined as a single-user mode,<br />

access to the MS <strong>SQL</strong> <strong>Server</strong> instance is in multi-user mode.<br />

b. The following example shows how to set up the connection in Windows in a<br />

multi-user mode:<br />

prowin32 holder -H MSS_DSRV_Host -S Holder_Service -db MSS_DB_DSN -ld<br />

MSS_DB_INS -dt MSS -H MSS_DSRV_Host -S 5162 -<strong>Data</strong>Service mssbroker1<br />

-Dsrv SVUB,1<br />

c. The following example shows how to set up the connection on UNIX:<br />

mpro holder -H MSS_DSRV_Host -S Holder_Service -db MSS_DB_DSN -ld<br />

MSS_DB_INS -dt MSS -H MSS_DSRV_Host -S 5162 -<strong>Data</strong>Service mssbroker1<br />

-Dsrv SVUB,1<br />

The following list identifies the values used in the examples shown in Step 3:<br />

MSS_DB_DSN<br />

Identifies the ODBC <strong>Data</strong> Source name.<br />

MSS_DB_INS<br />

Identifies the MS <strong>SQL</strong> <strong>Server</strong> instance name.<br />

MSS_Dsrv_host<br />

Identifies the name of the MSS <strong>Data</strong><strong>Server</strong> broker host.<br />

188 <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!