Optimizes memory consumption when using Oracle, PostgreSQL, DB2, or SQL Server
providers. Also applies the same data integrity rules on all databases for embedded SQL cursors that use WITH HOLD and FOR
UPDATE clauses for both DBMAN=ODBC and
- Optimize cursors. This can result in considerable memory savings and performance gains for large result sets, and also ensures
that SQL cursors that use WITH HOLD and FOR UPDATE clauses have appropriate database locks when positioned updates/deletes
When used with DBMAN=ADO, this option uses a DataReader (or server cursor) instead of a DataSet if the cursor is FORWARD only.
- Provided for backward compatibility. Sets the behavior to that of
Visual COBOL versions before 3.0.
To use OPTIMIZECURSORS, you must set DBMAN to either ODBC or
ADO explicitly, or by setting an SQL compiler directive option that sets DBMAN to ODBC or
|Used at compile time:
|Behavior at run time:
Scope - OpenESQL SQL Compiler Directive Options for more information.