Where prog-name is the COBOL program name.
To use ACCESS, you must also set the DB SQL compiler directive option.
In some scenarios, you should also set the PASS SQL compiler directive option.
|Used at compile time:||Yes|
|Behavior at run time:||Source file|
See Scope - OpenESQL SQL Compiler Directive Options for more information.
Convenient for testing when the BIND SQL compiler directive option is to be used for deployment.
Instead of embedding a SQL Server statement in your compiled module, OpenESQL generates a call to a SQL Server stored procedure. In addition, OpenESQL creates that stored procedure in the schema specified by your SQL Server connection, one for each static SQL statement in the program.
If stored procedures from a previous compilation are present in the schema, OpenESQL drops them before creating new stored procedures.