User Guide : Map Connectors : Source and Target Map Connectors : ActianX Multimode
 
Share this page             
ActianX Multimode
ActianX Multimode connector allows you to perform multiple operations (such as table drops and table inserts) directly on the target database. For information about ActianX client, see the ActianX documentation available at docs.actian.com.
The integration platform connects to ActianX tables through ODBC 3.5.
Prerequisites
Install ActianX client. Go to esd.actian.com and download the required version of ActianX client.
For information about installing ActianX client, see the ActianX documentation available at docs.actian.com.
When you install ActianX client, Ingres ODBC driver 3.5 is installed automatically.
Configure ODBC data source.
1. Go to Administrative Tools from the Start menu.
2. Double-click ODBC Data Sources (64-bit).
The ODBC Data Source Administrator window is displayed.
3. Click Add.
The Create New Data Source window appears.
4. Select the appropriate driver and click Finish.
The ODBC Administrator window appears for that driver.
The options varies depending on the selected driver. Check the documentation of the particular driver for information to setup the driver.
5. Click Apply and then click OK.
The created data source is displayed on the System DSN tab. The name of the driver is also displayed.
6. Click OK to close the ODBC administrator window.
Connector Properties
You can set the following target properties.
Property
S/T
Description
Encoding
T
Type of encoding to use with source and target files. The default value is OEM.
SQL Output
T
Output mode for SQL statements. There are four output modes:
Target Only (default) - Uses bound mode, which uses bind variables. SQL statements are sent to the Target and not to the SQL log specified in the SQL Log property.
Target Only (Unbound mode) - Uses unbound mode, which does not use bind variables and sends the literal SQL statement to the database engine. SQL statements are sent to the Target and not to the SQL log specified in the SQL Log property.
Target and SQL Log - Sends SQL statements to the Target and to the SQL log specified in the SQL Log property.
SQL Log Only - Sends SQL statements only to the SQL log file specified in the SQL Log property.
Note:  Bound mode is faster since bind variables are used.
SQL Log
T
SQL log file in the default installation directory. The default file name is sql.log. To use a different log, browse to the file or enter the path and file name.
UpdateNullfields
T
If set to True, null values are sent to the database when inserting or updating records.
If set to False, null values are not sent to the database when inserting or updating records. Also, this property forces the connector to operate in unbound mode, which may cause slower performance.
The default value is False.
Tip...  If fields in the target record are not mapped, then the null values are passed to the target. If you do not want to write to these fields, then it is recommended to set the value for UpdateNullFields to False.
SystemTables
T
If set to True, allows you to see all tables created by the Database Administrator (DBA) in the database. The system table names appear in the table list. The default value is False.
Note:  This property is applicable only if you have logged in to the database as the DBA. Only the DBA has access to system tables.
Views
T
If set to True, this property allows you to see the view names in the table list along with the table names. Default is True.
Note:  This property supports only Append and DeleteAndAppend output modes and does not support the Replace output mode.
Synonyms
T
If set to True this property allows you to see synonyms. The alias names appear in the table list along with the tables. Default is false.
DSNType
T
Data sources or drivers to connect to in the Data Source Name (DSN) list. DSNs are listed in Control Panel > Administrative Tools > ODBC Data Source Administrator window. The options are:
User: Created for a specific user. DSN information is stored in the registry.
System: Can be used by anyone who has access to the machine. DSN information is stored in the registry.
User & System: This is the default option.
For more information, see Configuring ODBC Data Source.
AutoCommit
T
Automatically commit changes as they are made by each SQL statement, instead of waiting until the end of the transaction. If this option is set to true, you cannot roll back the changes after they are done. The default value is false.
DriverCompletion
T
Allows you to control whether or not the driver prompts you for information. The options available are Prompt, Complete (default), Complete Required and No Prompt. The Prompt option prompts you for every individual bit of information. Complete prompts you for any information they forgot to enter. The Complete Required option prompts you only for information that is essential to complete the connection. The No Prompt option does not prompt you for any information.
IdentifierQuotes
T
Quoted identifiers are used to parse the SQL statement and distinguish between columns and character data in SQL statements. All databases have quoted identifiers.
In a SQL statement, you must enclose identifiers containing special characters or match keywords in identifier quote characters; (also known as delimited identifiers in SQL-92). For example, the Accounts Receivable identifier is quoted in the following SELECT statement:
SELECT * FROM "Accounts Receivable"
If you do not use identifier quotes, the parser assumes there are two tables, Accounts and Receivable and return a syntax error that they are not separated by a comma.
IdentifierQuotes has four options:
Default
None
"
'
ModifyDriverOptions
T
Allows you to store the ODBC connection. The default is true. If you set this to false, you are prompted for your connection information each time you run the transformation.
DriverOptions
T
Default is empty for a new map. This property will be automatically populated with ODBC connect string upon successful connection.
For ODBC connectors, the map saved database information in the Driver Option property with real values (not using macros) during the last successful connection. If you want to run the map with a different database server, you have to delete the value for Driver Option and use the correct macros for the connection information. The map repopulates the value of Driver Option when it successfully connects to the new database server.
MaxDataLength
T
Maximum number of characters to write to a field. It is the maximum data length for long data types. The default value is 1 MB. You can change this value based on the available memory and target requirements.
When this connector requests the column field size for these data types, it checks for a returned value greater than the MaxDataLength value. If the value is greater, then the MaxDataLength value is used.
Some ODBC drivers have maximum data length limitations. If you choose an ODBC source or target connector and the default setting is not 1 MB, the integration platform sets the value for that particular ODBC driver. In this case, do not set the MaxDataLength property to a higher value.
TransactionIsolation
T
Allows you to specify an isolation level when reading from or writing to a database table with ODBC. The isolation levels are:
Read uncommitted – Permits P1, P2, and P3.
Read committed – Permits P2 and P3. Does not permit P1.
Repeatable read – Permits P3. Does not permit P1 and P2.
Serializable – Does not permit P1, P2 or P3.
The default is serializable.
The ANSI SQL 2 standard defines three specific ways in which serializability of a transaction may be violated: P1 (Dirty Read), P2 (Nonrepeatable Read), and P3 (Phantoms).
For further details about TransactionIsolation levels, see the IBM DB2 Universal Database ODBC documentation.
Supported Output Modes
ActianX Multimode connector supports the Multi output mode. For information about output modes, see Target Output Modes.
Data Types
ActianX Multimode supports the same data types supported by ActianX connector.