| Argument | Description |
| BinAsChar | When this parameter is set to true, the OLE DB Provider for DB2 treats binary data type fields (with a CCSID of 65535) as character data type fields on a per-data source basis. The Host CCSID and PC Code Page values are required input and output parameters.
This parameter defaults to false. |
| BindType | This parameter indicates the bind type to be used when creating packages. Legal values for the package binding type are as follows.
NORM—normal binding. FAST—create all 64 package sections optimally in a single network flow. NOSP—reserved for future use and currently not supported. The default value for this parameter is NORM. This parameter is not supported by the ODBC Driver for DB2 supplied with Host Integration Server 2000. This parameter is supported by the OLE DB Provider for DB2 supplied with the Japanese version of the OLE DB Provider for DB2 client included with SNA Server 4.0 with Service Pack 2, and by the OLE DB Provider for DB2 client included with all versions of SNA Server 4.0 with Service Pack 3 or later. |
| CCSID | The Code Character Set Identifier (CCSID) attribute indicates the character set used on the host.
If this argument is omitted, the default value is U.S./Canada (37). |
| Commit | This parameter indicates whether changes to data will be automatically committed or require a separate manual commit request.
This parameter defaults to true (auto commit). |
| DefSch | The name of the default schema (collection/owner) where the system catalogs resides. This parameter can be QSYS2;SYSIBM;SYSTEM; CURLIB; or USERID depending on platform.
This parameter does not have a default value. |
| GCCSID | The graphics character code set identifier (GCCSID) matching the DB2 character data as represented on the remote host computer. This parameter is required when accessing DB2 databases configured to support mixed single-byte (SBCS) and double-byte (DBCS) data. This parameter only applies when accessing DB2 for OS/390 or DB2 for MVS.
The following values for GCCSID are supported by the OLE DB Provider for DB2: 300, 834, 835, 837, or 4396. This parameter defaults to 0 indicating that mixed CCSID conversions are not supported. This parameter is not supported by the ODBC Driver for DB2 supplied with Host Integration Server 2000. This parameter is supported by the OLE DB Provider for DB2 supplied with the Japanese version of the OLE DB Provider for DB2 client included with SNA Server 4.0 with Service Pack 2, and by the OLE DB Provider for DB2 client included with all versions of SNA Server 4.0 with Service Pack 3 or later. |
| InitCat | This parameter is used as the first part of a 3-part fully qualified table name. In DB2 (MVS, OS/390), this property is referred to as LOCATION. The SYSIBM.LOCATIONS table lists all the accessible locations. In DB2/400, this parameter is referred to as RDBNAM. The RDBNAM value can be determined by invoking the WRKRDBDIRE command from the console to the OS/400 system. If there is no RDBNAM value, then one can be created using the Add option. In DB2 Universal Database, this property is referred to as DATABASE.
This parameter has no default value. |
| IsoLvl | This parameter determines the isolation level provided for this data source. Legal values for the default isolation level are the following:
CS—Cursor Stability. In DB2/400, this isolation level corresponds to COMMIT(*CS). In ANSI, this isolation level corresponds to Read Committed (RC). NC—No Commit. In DB2/400, this isolation level corresponds to COMMIT(*NONE). In ANSI, this isolation level corresponds to No Commit (NC). UR—Uncommited Read. In DB2/400, this isolation level corresponds to COMMIT(*CHG). In ANSI, this isolation level corresponds to Read Uncommited. RS—Read Stability. In DB2/400, this isolation level corresponds to COMMIT(*ALL). In ANSI, isolation level this corresponds to Repeatable Read. RR—Repeatable Read. In DB2/400, this isolation level corresponds to COMMIT(*RR). In ANSI, this isolation level corresponds to Serializable (Isolated). This parameter defaults to NC. This parameter is not supported by the ODBC Driver for DB2 supplied with Host Integration Server 2000. |
| LocalLU | The name of the local LU alias configured in Host Integration Server. |
| MCCSID | The mixed character code set identifier (MCCSID) matching DB2 character data as represented on the remote host computer. This parameter is required when accessing DB2 databases configured to support mixed single-byte (SBCS) and double-byte (DBCS) data. This parameter only applies when accessing DB2 for OS/390 or DB2 for MVS.
The following values for MCCSID are supported by the OLE DB Provider for DB2: 930, 931, 933, 935, 937, 939, 5026, or 5035. This parameter defaults to 0 indicating that mixed CCSID conversions are not supported. This parameter is not supported by the ODBC Driver for DB2 supplied with Host Integration Server 2000. This parameter is supported by the OLE DB Provider for DB2 supplied with the Japanese version of the OLE DB Provider for DB2 client included with SNA Server 4.0 with Service Pack 2, and by the OLE DB Provider for DB2 client included with all versions of SNA Server 4.0 with Service Pack 3 or later. |
| ModeName | The APPC mode (must be set to a value that matches the host configuration and Host Integration Server configuration).
Legal values for the APPC mode include QPCSUPP (5250), #NTER (interactive), #NTERSC (interactive), #BATCH (batch), #BATCHSC (batch), and custom modes. |
| NetAddr | When TCP/IP has been selected for the Network Transport Library, this parameter indicates the IP address of the host. |
| NetPort | When TCP/IP has been selected for the Network Transport Library, this parameter is the TCP/IP port used for communication with the source.
The default value is TCP/IP port 446. |
| NetLib | This parameter determines whether TCP/IP or SNA APPC is used for network communication. The possible values for this parameter are TCPIP or SNA.
This value defaults to SNA. |
| PCCodePage | The character code page to use on the PC. If this argument is omitted, the default value is set to Latin 1 (1252). |
| PkgCol | The name of the DRDA target collection (AS/400 library) where the Microsoft OLE DB Provider for DB2 should store and bind DB2 packages. This could be same as the Default Schema.
The Microsoft OLE DB Provider for DB2 uses packages to issue dynamic and static SQL statements. The OLE DB Provider will create packages dynamically in the location to which the user points using the Package Collection parameter. |
| ReadOnly | When the Read Only parameter is set to true (ReadOnly=1), the OLE DB Provider for DB2 creates a read-only data source. A user has read access to objects such as tables, and cannot do update operations (INSERT, UPDATE, or DELETE, for example).
This parameter is not supported by the ODBC Driver for DB2 supplied with Host Integration Server 2000. |
| RemoteLU | The name of the remote LU alias configured in Host Integration. |
| TPName | The Transaction Program (TP) Name parameter represents the default transaction program name for the DB2 DRDA application server (AS) which is 07F6DB (DB2DRDA). However, some DB2 installations may be configured to use an alternate TP name. |