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 6: Connecting the <strong>Data</strong><strong>Server</strong><br />

Note the following command used in a Windows client:<br />

prowin32 mssholder -RO -db sports -dt MSS -ld mydemo -H host1<br />

-S mssport -U bob -P bobpass -Dsrv qt_debug,EXTENDED<br />

Note the following command used on a UNIX client:<br />

pro mssholder -RO -db sports -dt MSS -ld mydemo -H host1<br />

-S mssport -U bob -P bobpass -Dsrv qt_debug,EXTENDED<br />

Unsupported connection parameters<br />

You cannot use the following <strong>OpenEdge</strong> connection parameters when connecting to a<br />

MS <strong>SQL</strong> <strong>Server</strong> database through the <strong>Data</strong><strong>Server</strong>. If you do specify them, <strong>OpenEdge</strong><br />

and WebSpeed ignore them:<br />

• Blocks in <strong>Data</strong>base Buffers (-B)<br />

• Be<strong>for</strong>e–image Filename (-g)<br />

• Lock-table Entries (-L)<br />

• Number of Users (-n)<br />

• Buffered I/O—UNIX only (-r)<br />

• Version 6 Query (-v6q)<br />

• Raw I/O (-R)<br />

Special connection issues<br />

The <strong>Data</strong><strong>Server</strong> (-Dsrv) parameter uses the PRGRS_CONNECT option to allow you to<br />

pass ODBC-specific in<strong>for</strong>mation to the ODBC driver. A <strong>Data</strong><strong>Server</strong> connection string<br />

contains all of the in<strong>for</strong>mation needed to establish a connection. It consists of a series<br />

of keywords/value pairs separated by semicolons. The <strong>Data</strong><strong>Server</strong> <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong><br />

passes the connection string specified by the PRGRS_CONNECT option directly through<br />

to the ODBC driver without modification. For more in<strong>for</strong>mation and a complete list of<br />

keywords, refer to the <strong>Microsoft</strong> ODBC programming reference documentation. The<br />

parameter has the following syntax:<br />

Syntax<br />

-Dsrv PRGRS_CONNECT,connection-string;<br />

ODBC-specific connection in<strong>for</strong>mation is passed in connection–string. The<br />

connection string is separated from the option by a comma (,) and ends with a<br />

semicolon (;). There can be no spaces within connection-string. If any of the<br />

name/value pairs does include a space, substitute the value &^ <strong>for</strong> the space.<br />

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