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
- 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
JDBC 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.