skip to main content

Database Bridge generator (edbiis)

Database Bridge generator (edbiis)
The EDBIIS command allows the user to generate EDBI routines for supported RDBMS.
This command is mainly supported for backward compatibility. If you activated the Database Bridge as described in EDBI Generation at compile time (one step), then you don’t need to use this command.
Instead, if you wish to generate EDBI routines in a separate step by processing EFD dictionaries, then you need this command.
Syntax
Command Line Options
Generates EDBI routines with light cursors for MySQL (InnoDB engine). See iscobol.easydb.mysql_row_limit for details.
Generates EDBI routines with light cursors for unique indexes for MySQL (InnoDB engine). See iscobol.easydb.mysql_row_limit for details.
-dmoid=<name>
Note that the COMMIT COUNT feature requires iscobol.jdbc.autocommit (boolean) to be set to false in the configuration, otherwise all the operations are automatically committed.
set iscobol.file.index=easydbcp in the configuration
Use the VAR-LENGTH Directive to mark specific alphanumeric fields as VARCHAR.
Alphanumeric fields whose size is not greater than n are managed as CHAR, the others are managed as VARCHAR.
The -t option must be used along with -n. Routines generated with -t and -n options keep trace of cases of not numeric data in numeric field in a separate log file whose name is controlled by the iscobol.edbi.notnum.tracefile configuration property.
Generate Oracle optimizer hints that force the query optimizer to use the proper index. Hints are also used to specify the data ordering, avoiding the Order By clause and providing better performance. The HINT Directive shouldn't be used along with this option since it might cause wrong data ordering. This option is incompatible with the -Oh option and with the configuration setting iscobol.jdbc.cursor.type=3.
Includes the WAIT FOR LOCKS feature in the EDBI routine. Before each READ operation the EDBI routine tests the iscobol.easydb.wait_for_lock (boolean) configuration property. If the property is set to true, then the lock condition is not returned and the program waits for the lock to be released. If the property is set to false, then the lock condition is returned. This option can’t be used along with -Ow.
With this option COLLATE Latin1_General_Bin is used upon CREATE TABLE.
With this option COLLATE Latin1_General_Bin is used in the ORDER BY clause of queries.
Unlike other drivers, the PostgreSQL JDBC driver tries to load all the records of a Cursor (object used by EDBI subroutines to store table records ) into memory. For this reason, when the program performs a START on a huge table, an out of memory error may occur. The -dpld and -dplu options help to avoid this situation. When used, the EDBI subroutine will include a pagination logic that keeps the Cursor light. Use one of these options instead of -dp if you plan to work on huge tables with PortgreSQL.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left