Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. Infacmd bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ipc Command Reference
  14. infacmd isp Command Reference
  15. infacmd mrs Command Reference
  16. infacmd ms Command Reference
  17. infacmd oie Command Reference
  18. infacmd ps Command Reference
  19. infacmd pwx Command Reference
  20. infacmd rms Command Reference
  21. infacmd rtm Command Reference
  22. infacmd sch Command Reference
  23. infacmd search Command Reference
  24. infacmd sql Command Reference
  25. infacmd tdm Command Reference
  26. infacmd wfs Command Reference
  27. infacmd ws Command Reference
  28. infacmd xrf Command Reference
  29. infacmd Control Files
  30. infasetup Command Reference
  31. pmcmd Command Reference
  32. pmrep Command Reference
  33. Working with pmrep Files

DB2 for i5/OS Connection Options

DB2 for i5/OS Connection Options

Use DB2I connection options to define the DB2 for i5/OS connection.
Enter connection options in the following format:
... -o option_name=value option_name=value ...
Separate multiple options with a space. To enter a value that contains a space or other non-alphanumeric character, enclose the value in quotation marks.
The following table describes DB2 for i5/OS connection options for infacmd isp CreateConnection and UpdateConnection commands:
Option
Description
DatabaseName
Database instance name.
EnvironmentSQL
Optional. SQL commands to set the database environment when you connect to the database. The Data Integration Service executes the connection environment SQL each time it connects to the database.
Enclose special characters in double quotes.
CodePage
Required. Code page used to read from a source database or write to a target database or file.
ArraySize
Optional. Determines the number of records in the storage array for the threads when the worker threads value is greater than 0. Valid values are from 1 through 100000. Default is 25.
Compression
Optional. Compresses the data to decrease the amount of data to write over the network. Default is false.
EncyptionLevel
Optional. Level of encryption for RC2 or DES for encryption types. Enter one of the following values for the encryption level:
  • 1. Use a 56-bit encryption key for DES and RC2.
  • 2. Use a 168-bit triple DES encryption key for DES or a 64-bit encryption keyfor RC2.
  • 3. Use a 168-bit triple DES encryption key for DES or a 128-bit encryption key for RC2.
Default is 1.
If you select None for encryption type, the Data Integration Service ignores the encryption level value.
EncryptionType
Optional. Type of encryption. Enter one of the following values for the encryption type:
  • None
  • RC2
  • DES
Default is None.
InterpretAsRows
Optional. Represent pacing size as a number of rows. If false, the pacing size represents kilobytes. Default is false.
Location
Location of the PowerExchange Listener node that can connect to the database. The location is defined in the first parameter of the NODE statement in the PowerExchange dbmover.cfg configuration file.
PacingSize
Optional. Amount of data the source system can pass to the PowerExchange Listener. Configure the pacing size if an external application, a database, or the Data Integration Service node is a bottleneck. The lower the value, the faster the performance.
Minimum value is 0. Enter
0
for maximum performance. Default is 0.
RejectFile
Optional. Enter the reject file name and path. Reject files contain rows that were not written to the database.
WriteMode
Enter one of the following write modes:
  • CONFIRMWRITEON. Sends data to the PowerExchange Listener and waits for a success/no success response before sending more data.
  • CONFIRMWRITEOFF. Sends data to the PowerExchange Listener without waiting for a success/no success response. Use this option when the target table can be reloaded if an error occurs.
  • ASYNCHRONOUSWITHFAULTT. Sends data to the PowerExchange Listener asynchronously with the ability to detect errors.
Default is CONFIRMWRITEON.
DatabaseFileOverrides
Specifies the i5/OS database file override. The format is:
from_file/to_library/to_file/to_member
Where:
  • from_file
    is the file to be overridden
  • to_library
    is the new library to use
  • to_file
    is the file in the new library to use
  • to_member
    is optional and is the member in the new library and file to use. *FIRST is used if nothing is specified.
You can specify up to 8 unique file overrides on a single connection. A single override applies to a single source or target. When you specify more than one file override, enclose the string of file overrides in double quotes and include a space between each file override.
If both LibraryList and DatabaseFileOverrides are specified and a table exists in both, DatabaseFileOverrides takes precedence.
IsolationLevel
Commit scope of the transaction. Select one of the following values:
  • None
  • CS. Cursor stability.
  • RR. Repeatable Read.
  • CHG. Change.
  • ALL
Default is CS.
LibraryList
List of libraries that PowerExchange searches to qualify the table name for Select, Insert, Delete, or Update statements. PowerExchange searches the list if the table name is unqualified.
Separate libraries with semicolons.
If both LibraryList and DatabaseFileOverrides are specified and a table exists in both, DatabaseFileOverrides takes precedence.
EnableConnectionPool
Optional. Enables parallel processing when loading data into a table in bulk mode. Used for Oracle. True or false. Default is true.
ConnectionPoolSize
Optional. Maximum number of idle connections instances that the Data Integration Service maintains for a database connection. Set this value to be more than the minimum number of idle connection instances.
ConnectionPoolMaxIdleTime
Optional. Number of seconds that a connection exceeding the minimum number of connection instances can remain idle before the connection pool drops it. The connection pool ignores the idletime when it does not exceed the minimum number of idle connection instances.
ConnectionPoolMinConnections
Optional. Minimum number of idle connection instances that the pool maintains for a database connection. Set this value to be equal to or less than the idle connection pool size. Default is 0.


Updated April 22, 2019