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.

Troubleshooting<br />

8–4<br />

<strong>Data</strong><strong>Server</strong> options<br />

In addition to the ODBC-defined options, the <strong>Data</strong><strong>Server</strong> provides a number of -Dsrv options<br />

that are defined on the <strong>Data</strong><strong>Server</strong> side of a connection. Each <strong>Data</strong><strong>Server</strong> option has a name of<br />

the <strong>for</strong>m PRGRS_option–name, to reflect its origin. Table 8–2 lists and describes these options.<br />

Table 8–2: <strong>Data</strong><strong>Server</strong> options (1 of 3)<br />

Option Description<br />

PRGRS_ALWAYS_INDEX Specifies if the <strong>Data</strong><strong>Server</strong> should always<br />

order result sets. The value is either 1 <strong>for</strong><br />

YES or 0 <strong>for</strong> NO. If this option is set off,<br />

then results that do not explicitly describe a<br />

desired ordering and/or that do not require<br />

ordering will be returned unordered. (The<br />

default setting is 0.)<br />

Note: The driver and data source need to<br />

have the capability to preserve cursors<br />

beyond a transaction boundary in order <strong>for</strong><br />

the PRGRS_ALWAYS_INDEX option to be<br />

available.<br />

PRGRS_BLOCK_CURS Specified if the <strong>Data</strong><strong>Server</strong> should use block<br />

cursors <strong>for</strong> NO-LOCK queries. The value is<br />

either 1 <strong>for</strong> YES or 0 <strong>for</strong> NO. This option is<br />

set to 1 by default.<br />

PRGRS_CACHE_CONN Specifies a maximum value to indicate the<br />

number of ODBC connections that can be<br />

cached without having to close existing<br />

connections. The default is 5.<br />

PRGRS_CONNECT Passes a connection string to the ODBC<br />

driver.<br />

PRGRS_DATEPART_OVERRIDE Specifies the date component used to<br />

override the current date when an MSS Time<br />

column is converted to an <strong>OpenEdge</strong><br />

DATETIME data type.<br />

PRGRS_IDBUF Specifies the number of keys in the scrolling<br />

buffer. The value must be greater than 0. The<br />

default value is 25 keys. This parameter<br />

applies to all nonlookahead cursors.<br />

PRGRS_LOCK_ERRORS Specifies that when an application gets the<br />

stated error message, standard ABL<br />

error-handling behavior occurs (that is,<br />

<strong>OpenEdge</strong> waits and retries rather than<br />

halting). Valid values are native ODBC data<br />

source error message numbers.<br />

PRGS_LOGGINGLEVEL Specifies the level at which log entries are<br />

written. For more in<strong>for</strong>mation, see the<br />

“Analyzing per<strong>for</strong>mance with the Enhanced<br />

Logger” section on page 6–18.

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

Saved successfully!

Ooh no, something went wrong!