Connection string keywords - Package properties
Use these IBM® i Access ODBC driver connection string keywords to change Package properties of the ODBC connection.
The following table lists connection string keywords for Package properties that are recognized by the IBM i Access ODBC driver:
Keyword | Description | Choices | Default |
---|---|---|---|
DFTPKGLIB or DefaultPkgLibrary | Specifies the library for the SQL package. This property has no effect unless the XDYNAMIC property is set to 1. | Library for SQL package | QGPL |
PKG or DefaultPackage | Specifies how the extended dynamic (package)
support will behave. The string for this property must be in the following
format: A/DEFAULT(IBM),x,0,y,z,0 The x, y, and z are special attributes that need to be replaced with how the package is to be used.
Note: This property has no effect unless the XDYNAMIC property
is set to 1.
|
A/DEFAULT(IBM),x,0,y,z,0 Values for x option:
Values for y option:
Values for z option:
|
default |
XDYNAMIC or ExtendedDynamic | Specifies whether to use extended dynamic (package)
support. Extended dynamic support provides a mechanism for caching dynamic SQL statements on the server. The first time a particular SQL statement is run, it is stored in a SQL package on the server. On subsequent runs of the same SQL statement, the server can skip a significant part of the processing by using information stored in the SQL package. Note: For more information see Use Extended Dynamic SQL.
|
0 = Disable extended dynamic support 1 = Enable extended dynamic support |
1 |