If this is set, the preprocessor automatically generates code to make the connection to the database. If you specify INIT, you must also specify DB and PASS. We highly recommend that you use EXEC SQL CONNECT statements in your application instead.
Syntax:
INIT[=PROT]
NOINIT
Parameters:
PROT
|
In the event that the application terminates abnormally, correctly closes down the database connection and rolls back all changes since the last COMMIT, avoiding potential database corruption.
|
Scope:
Used at compile time:
|
Yes
|
Behavior at run time:
|
Source file
|
See
Scope - OpenESQL SQL Compiler Directive Options for more information.