edbiis -help|[options] <efdfilename> |
Command line option | Corresponding Compiler configuration | Description |
---|---|---|
(default) | (default) | Generates EDBI routines for generic RDBMS. |
-d2 | iscobol.compiler.easydb.db2=1 | Generates EDBI routines for DB2 RDBMS. |
-d4 | iscobol.compiler.easydb.db2_as400=1 | Generates EDBI routines for DB2/AS400 RDBMS. |
-di | iscobol.compiler.easydb.informix=1 | Generates EDBI routines for Informix (certified for ANSI-mode databases). |
-do | iscobol.compiler.easydb.oracle=1 | Generates EDBI routines for ORACLE RDBMS. |
-dm | iscobol.compiler.easydb.mysql=1 | Generates EDBI routines for MySQL (InnoDB engine) and MariaDB. |
-dmld | iscobol.compiler.easydb.mysql=1 iscobol.compiler.easydb.light_cursors=2 | Generates EDBI routines with light cursors for MySQL (InnoDB engine) and MariaDB. See iscobol.easydb.mysql_row_limit for details. Note - An additional column named OID is generated in the tables when this option is used. For this reason, routines generated with this option can’t work on tables that were created by routines generated with -dm or -dmlu options and vice versa. |
-dmlu | iscobol.compiler.easydb.mysql=1 iscobol.compiler.easydb.light_cursors=1 | Generates EDBI routines with light cursors for unique indexes for MySQL (InnoDB engine) and MariaDB. See iscobol.easydb.mysql_row_limit for details. |
-dmoid=<name> | iscobol.compiler.easydb.mysql.oid_name=<name> | Specifies the name of the OID field generated when -dmld is used. The default name is "OID". |
-dp | iscobol.compiler.easydb.postgres=1 | Generates EDBI routines for PostgreSQL. |
-dpld | iscobol.compiler.easydb.postgres=1 iscobol.compiler.easydb.light_cursors=2 | Generates EDBI routines with light cursors for PostgreSQL. See iscobol.easydb.postgres_row_limit for details. |
-dplu | iscobol.compiler.easydb.postgres=1 iscobol.compiler.easydb.light_cursors=1 | Generates EDBI routines with light cursors for unique indexes for PostgreSQL. See iscobol.easydb.postgres_row_limit for details. |
-dpoid=<name> | iscobol.compiler.easydb.postgres.oid_name=<name> | Specifies the name of the OID field generated when -dpld is used. The default name is "OID". |
-ds | iscobol.compiler.easydb.sqlserver=1 | Generates EDBI routines for Microsoft SQL Server. |
For every database: | ||
-ca | (inherited from the Compiler command line) | Uses A4GL-WHERE-CONSTAINT instead of The EDBI-WHERE-CONSTRAINT external variable and implies -defCHAR. |
-cc | (default) | Includes the COMMIT COUNT feature in the EDBI routine. A COMMIT statement is automatically performed after a given number of successful WRITE, REWRITE and DELETE operations. The number is configured by the properties iscobol.easydb.commit_count.ConnectionName and iscobol.easydb.commit_count. 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. |
-ce | (default) | Generate direct SELECT query instead of using a CURSOR to perform READ KEY. |
-csqq | (inherited from the Compiler command line) | Generates identifiers between quotes. This option is useful in two situations: 1) if you need to keep identifiers case sensitive 2) if you have fields whose name starts with a number In the second scenario, you should also set iscobol.compiler.efd_field_name_num (boolean) to true in the Compiler configuration when you compile the program that includes the FD of the table. |
-defCHAR | iscobol.compiler.easydb.defchar=1 | Manages alphanumeric fields using CHAR instead of VARCHAR. Use the VAR-LENGTH Directive to mark specific alphanumeric fields as VARCHAR. |
-entrypoints | iscobol.compiler.easydb.entry_points=1 | Generates entry points where the user can inject customized code. See Extending EDBI routines through entry points for more information. |
-esst | (default) | Generates additional code to provide the ability to use only the table related to a specific record type in multi-record files. To enable the feature at runtime, set iscobol.easydb.start_on_specific_table (boolean) to true in the configuration. |
-h | iscobol.compiler.easydb.high_values_as_max_val=1 | Replaces HIGH-VALUE with the maximum numeric value in numeric fields. This option affects numeric items that cannot be set to HIGH-VALUE. It doesn’t affect COMP, BINARY, COMP-X, COMP-5 and COMP-2 as well as numeric items for which either the ALPHA Directive or the DATE Directive were used. |
-i | iscobol.compiler.easydb.isam_eof=1 | ISAM positioning on at end Using the -i option produces a different behavior when reversing direction after reading past the beginning or end of a file. The record returned by the READ PREVIOUS is the second-to-last record in the file, and the record returned by the READ NEXT is the second record in the file. |
-jcd=<routine_name> | iscobol.compiler.easydb.julian_routines=<routine_name>;<routine_name> | Specifies an alternate routine for the conversion of julian dates before writing on the database. By default EDBI_DTJUCBDB (installed with the product) is used. This routine takes advantage of the DATE-OF-INTEGER intrinsic function for the conversion. If you wish to write your own routine that uses a different conversion logic, use the same Linkage parameters as EDBI_DTJUCBDB.CBL found in easydb/edbisource in the isCOBOL installation. The custom routine you provide is searched in the iscobol.code_prefix, if set, or in the Class Path otherwise. The -jcd option must be used in conjunction with -jdc. |
-jdc=<routine_name> | iscobol.compiler.easydb.julian_routines=<routine_name>;<routine_name> | Specifies an alternate routine for the conversion of julian dates after reading from the database. By default EDBI_DTJUDBCB (installed with the product) is used. This routine takes advantage of the INTEGER-OF-DATE intrinsic function for the conversion. If you wish to write your own routine that uses a different conversion logic, use the same Linkage parameters as EDBI_DTJUDBCB.CBL found in easydb/edbisource in the isCOBOL installation. The custom routine you provide is searched in the iscobol.code_prefix, if set, or in the Class Path otherwise. The -jdc option must be used in conjunction with -jcd. |
-maxCHARlen=<n> | iscobol.compiler.easydb.max_char_len==<n> | Alphanumeric fields whose size is not greater than n are managed as CHAR, the others are managed as VARCHAR. This option is not compatible with -defCHAR and overrides both FIX-LENGTH Directive and VAR-LENGTH Directive. |
-mo | (not available) | Generates multitable subroutines using standard COBOL statements instead of object oriented syntax. |
-n | iscobol.compiler.easydb.test_not_numeric=1 | Test not numeric Using the -n option will include an additional test on numeric key fields to verify whether a numeric value is used. This additional check will determine if non-numeric values are used and replace those non-numeric values with 0. |
-no | iscobol.compiler.easydb.names_with_leading_zeros=1 | Use leading zeroes in OCCURS item names. The number of leading zeroes depends by the occurs size. EasyDB puts before as many zeroes as it takes to reach the number of digits of the occurs size. Example: Consider the following COBOL items: 03 my_item_a pic x(10) occurs 3. 03 my_item_b pic x(10) occurs 30. 03 my_item_c pic x(10) occurs 300. Without -no option the columns generated by edbiis are named: my_item_a_1, my_item_a_2, my_item_a_3 my_item_b_1, my_item_b_2, my_item_b_3, ... my_item_b_30 my_item_c_1, my_item_c_2, my_item_c_3, ... my_item_c_300 With -no option the columns are named: my_item_a_1, my_item_a_2, my_item_a_3 my_item_b_01, my_item_b_02, my_item_b_03, ... my_item_b_30 my_item_c_001, my_item_c_002, my_item_c_003, ... my_item_c_300 |
-nocheck | iscobol.compiler.easydb.no_check=1 | Avoid checking for table existence during the OPEN statement. We assume that the table exists. The file not found error is never returned by the OPEN statement and the optional files are not automatically created if they don’t exist. |
-od=<dirname> | iscobol.compiler.easydb.output=<dirname> | Output directory for EDBI routines. |
-od=<dirname> | iscobol.compiler.easydb.sql.output=<dirname> | Output directory for sql files. |
-pdo | iscobol.compiler.easydb.duplicates_in_order=1 | List records with duplicate keys values ordered by the primary key during READ NEXT and READ PREVIOUS on alternate keys with duplicates. Without this option there is no guarantee to read the correct record by reading on the opposite way when the file pointer is on a duplicated key value. This option might slow down performance. |
-sl | (default) | Support for START WITH SIZE. Using this option, edbiis stores additional code in the routine to handle the SIZE clause of the START statement. If the -sl option is omitted, the routine will handle the START statement as if the SIZE clause is not specified. |
-sql | iscobol.compiler.easydb.sql=1 | Generates a script file with .sql extension that includes the CREATE TABLE statement. |
-t | iscobol.compiler.easydb.test_not_numeric=2 | Allow trace for not numeric 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. |
-ua | iscobol.compiler.easydb.unlock_all=1 | Generate additional code to provide support for the statement UNLOCK file-name ALL RECORDS. The statement UNLOCK ALL is always ignored, instead. Warning: In order to unlock the file, the EDBI routine will issue a COMMIT statement, so every active lock will be lost. |
-v | (inherited from the Compiler command line) | Show product version. |
Only for Informix: | ||
-Id | (not available) | Use strings to represent date values in SQL statements. Avoid conversion functions. This is useful when working with old Informix versions where date conversion functions were not available. |
Only for Oracle: | ||
-oh | iscobol.compiler.easydb.oracle.hints=1 | Generate Oracle optimizer hints that force the query optimizer to use the proper index. This option is deprecated and supported only for backward compatibility. Unless the HINT Directive has been used to specify custom hints, you may consider using the new option -oho. |
-oho | iscobol.compiler.easydb.oracle.hints=2 | 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. |
-oii=<integer> | iscobol.compiler.easydb.oracle.index_storage_initial_value=<integer> | Initial storage value for index. |
-oit=<integer> | iscobol.compiler.easydb.oracle.table_storage_initial_value=<integer> | Initial storage value for table. |
-oni=<integer> | iscobol.compiler.easydb.oracle.index_storage_next_value=<integer> | Next storage value for index. |
-ont=<integer> | iscobol.compiler.easydb.oracle.table_storage_next_value=<integer> | Next storage value for table. |
-opi=<integer> | iscobol.compiler.easydb.oracle.index_storage_pctincrease_value=<integer> | pctincrease storage value for index. |
-opt=<integer> | iscobol.compiler.easydb.oracle.table_storage_pctincrease_value=<integer> | pctincrease storage value for table. |
-oti=<name> | iscobol.compiler.easydb.oracle.tablespace_index_name=<name> | Tablespace index name. |
-ott=<name> | iscobol.compiler.easydb.oracle.tablespace_name=<name> | Tablespace name. |
-ow | iscobol.compiler.easydb.oracle.lock_wait=0 | NOWAIT for update. This option allows the EDBI user's routine to return record lock condition. |
-owfl | iscobol.compiler.easydb.oracle.wait_for_locks=1 | 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. |
Only for Ms SQL Server: | ||
-sc | iscobol.compiler.easydb.sqlserver.latin1_general_bin=1 | Use standard ASCII comparison when sorting data. By default, without this option, in collation comparisons that use Windows collations, characters like a single quote (') or hyphen (-) are compared last, only after the regular alphabet characters are compared. With this option COLLATE Latin1_General_Bin is used upon CREATE TABLE. |
-sco | iscobol.compiler.easydb.sqlserver.latin1_general_bin=2 | Use standard ASCII comparison when sorting data. By default, without this option, in collation comparisons that use Windows collations, characters like a single quote (') or hyphen (-) are compared last, only after the regular alphabet characters are compared. With this option COLLATE Latin1_General_Bin is used in the ORDER BY clause of queries. |
-sdt | iscobol.compiler.easydb.sqlserver.datetime_always=1 | Use always DATETIME to represent COBOL fields with the EFD DATE directive, regardless of the date format string. |
Only for MySQL and MariaDB: | ||
-mh | iscobol.compiler.easydb.mysql.hints=true | Generate MySQL optimizer hints that force the query optimizer to use the proper index. |
Only for PostgreSQL: | ||
-pi | (default) | Use indicator variables to manage COBOL Low-Values as NULL on the database. |
edbiis file1.xml edbiis file2.xml edbiis file3.xml edbiis file4.xml |
edbiis file*.xml |