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.

Troubleshooting<br />

8–6<br />

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

PRGRS_PROC_TRAN The value is either 1 <strong>for</strong> ON or 0 <strong>for</strong> OFF.<br />

Allows a stored procedure to run in a<br />

separate connection. This allows <strong>OpenEdge</strong><br />

to issue concurrent, active requests <strong>for</strong><br />

running a stored procedure.<br />

PRGRS_STABLE_CURS The value is either 1 <strong>for</strong> ON or 0 <strong>for</strong> OFF.<br />

Enabling this option <strong>for</strong>ces the <strong>Data</strong><strong>Server</strong> to<br />

act as though cursors have stability across<br />

transaction boundaries.<br />

The following example of the -Dsrv startup parameter sets the number of keys in the<br />

nonlookahead scrolling buffer to 100:<br />

See the “Using MS <strong>SQL</strong> <strong>Server</strong> and <strong>Data</strong><strong>Server</strong> options” section on page 8–6 <strong>for</strong> in<strong>for</strong>mation<br />

on when and how to use these options.<br />

Using MS <strong>SQL</strong> <strong>Server</strong> and <strong>Data</strong><strong>Server</strong> options<br />

This section provides in<strong>for</strong>mation on using various ODBC and <strong>Data</strong><strong>Server</strong> options.<br />

Transaction <strong>Management</strong>: the AUTOCOMMIT option<br />

Note: This option can cause unpredictable<br />

query results if not used properly. See the<br />

“Cursor characteristics—the<br />

PRGRS_STABLE_CURS option” section<br />

on page 8–9 <strong>for</strong> details on the restrictions.<br />

PRGRS_WAIT_DELAY Specifies the number of seconds to wait <strong>for</strong> a<br />

lock response from the driver when using the<br />

driver in asynchronous mode and NO–WAIT<br />

has been specified in an ABL statement that<br />

requires a database lock.<br />

The default value is 2.<br />

Note: This option has no affect when<br />

running in synchronous mode.<br />

-Dsrv PRGRS_IDBUF,100<br />

Option Description<br />

To avoid using the MS <strong>SQL</strong> <strong>Server</strong> transaction manager, specify -Dsrv AUTOCOMMIT,1. This<br />

option exercises the <strong>OpenEdge</strong> client’s local be<strong>for</strong>e-image mechanism to manage transactions.<br />

This creates a transaction from each <strong>SQL</strong> statement that the <strong>Data</strong><strong>Server</strong> issues. <strong>OpenEdge</strong><br />

emulates the logical transaction on behalf of the application using the local be<strong>for</strong>e-image<br />

mechanism. This connection technique is useful in multi-database applications.<br />

Note: <strong>OpenEdge</strong> does not guarantee crash recovery when it uses the local be<strong>for</strong>e-image<br />

mechanism to emulate transactions.

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

Saved successfully!

Ooh no, something went wrong!