Hello Brenda
please see the answers below for few of your questions which might help with other questions.
1) we are on 12.0.3, but 11 should not be an issue. All our Db2i customers are on the latest versions.
2) please consider creating the connection as shown in my snapshot earlier through the portal, Manage>Data server connections as opposed to Cognos legacy administration page.
3) My screenshot shows the entire string that we are using and which works via Data server connections
------------------------------
Udaya Rani Palli
------------------------------
Original Message:
Sent: Fri January 03, 2025 01:08 PM
From: brenda grossnickle
Subject: How to setup Cognos Data Sources for querying IBM i DB2
Udaya Rani Palli - thanks for the reply. couple of questions.
1) what version of cognos do you have. we are on 11.1.7 and 11.2.4
2) how did you get IBM Db2 for i on your Connection Type drop down? of the list you are showing, we only have IBM Db2.
3) can you show me your full connection string? it stops at separator=.
4) does your Db2 have TLS enabled? How did you handle that? Found this but not sure if we need to do it. have not gotten that far yet JDBC test failed with following error " XQE-DS-0006 Unable to logon to the datasource error " and "ERRORCODE=-4499, SQLSTATE=08001
5) we are using this as our guide - Cognos BI support for DB2 i JDBC . , which uses the JT400. But we have not been able to get it to work.
6) we are getting the error message

------------------------------
brenda grossnickle
BI Programmer Analyst
FIS
Original Message:
Sent: Fri January 03, 2025 12:13 PM
From: Udaya Rani Palli
Subject: How to setup Cognos Data Sources for querying IBM i DB2
Hello Brenda,
My team made it work by creating the connection via - Manage > Data server connections. It works like charm. Make sure you are using JT400 driver.
------------------------------
Udaya Rani Palli
Original Message:
Sent: Thu January 02, 2025 10:39 PM
From: brenda grossnickle
Subject: How to setup Cognos Data Sources for querying IBM i DB2
Re: How to setup Cognos Data Sources for querying IBM i DB2
Trying to setup a Cognos data source to the IBM i DB2. Can anyone share their Cognos Data Source connection string or experience on now they got it to work? The Signon (user id and password) is correct.
My Connection string:
^User ID:^?Password:;LOCAL;JDBC;URL=jdbc:as400://11.6.63.214:992/Store11;date format=iso;time format=iso;decimal separator=.;DRIVER_NAME=com.ibm.as400.access.AS400JDBCDriver;ibmcognos.subcode=AS400;
Failed XQE-DS-0006 Unable to logon to the data source.
Type - JDBC
FYI - we have other data sources setup to MS SQL Server that use the same dispatcher and they work.
------------------------------
brenda grossnickle
BI Programmer Analyst
FIS
------------------------------