Cognos 11 and Redshift - amazon-redshift

We are in the process of evaluating redshift for our Cognos Analytics 11.0.11 system. We started seeing weird issues when after publishing a package (CQM mode) so we opened a ticket with IBM and they said Cognos works with redshift only in DQM mode. Is this correct? Have you used Cognos in CQM mode?

Not surprising.
The CQM engine is quite old and connects to datasources through native DB drivers (e.g. if you're connecting to Oracle, you have to install and configure the Oracle client on the Cognos server).
The DQM engine is much newer and uses JDBC drivers exclusively (no requirement to install DB client on the Cognos server).

Related

IBM DB2 V7.2 ODBC Driver for Linux

I am trying to connect to a client's DB2 v7.2 database in Linux.
I am pretty new to DB2 and could not find 7.2 odbc driver in IBM site. The earliest is 9.1 odbc driver. Is this compatible with v7.2 ?
IBM does not make such old legacy drivers publicly available, for good reasons.
Genuine IBM customers always have a way to acquire legacy drivers however, although this is wholly dependent on who you know.
The v9.1 ODBC driver might have trouble accessing v7.2. It rather depends on which fixpacks are deployed (client and server), which operating-system (for client), and what authorization level you have for the target instance, and what rights you have at the workstation end, apart from the level of competence needed. This is not work for beginners.
Keep in mind that legacy drivers may not be able to install on modern workstation operating-system versions (for example , they might need the workstation operating system to be also a legacy version).
Another approach is to have a detailed understanding of exactly how (with which versions and tools) the client currently connects to that legacy database, and then seek to emulate that mix of versions, possibly by cloning.
This is not a programming question so stackoverflow may not be the correct forum. There are IBM specific forums run by IBM which may help.

Choosing the correct DB2 drivers to get data acceleration

In order to connect to IBM DB2 from either Excel or a C# .net application, which driver do I need in order to also get the data acceleration? (set current query acceleration all;) Are there drivers that are portable (don't need admin rights to install)?
If they do need admin, I can always ask IT support to install it for me..
Have been using JDBC drivers for my Squirrel SQL client, and they support IBM IDAA (acceleration), but these won't work with Excel nor C#. Obviously.
Any pointers?
To access Db2-for-Z/OS from either Excel or C# .net you will need a CLI driver for Db2 with matching bitness.
Depending on how your Db2-for-Z/OS subsystems are licensed you may also need a license-file on the Microsoft-windows workstation, becase IBM supplied CLI drivers are not free for accessing Db2-fo-Z/OS. Speak with your Z-DBA or passport-advantage-coordinator to get the license-file (and the correct version of it to match your version of Db2-for-Z/OS) or to determine if the target subsystem has already db2connectactivate enabled ( meaning no workstation based licenses are required).
IBM and other companies offer CLI drivers for Db2 for various operating systems including Microsoft Windows.
IBM offers different sizes of CLI driver, depening on how much functionality you need.
Any of these should work with IDAA as long as they are "current", and the keywords needed for IDAA exploitation should be common between the IBM supplied CLI drivers.
The smallest footprint, minimal function, zero install CLI driver from IBM is the "ODBC and CLI" driver, which is a zipfile (just unzip and register it per the docs). Get it via this link, and then install it per this documentation. Note that this driver gets frequently updated, as it is used by all CLI/ODBC based tools (perl, python, r, c#, ruby, c++, ...). It's also possible to use wget to download it. google for that.
A larger driver is the "Db2 runtime client", which has more functionality and the clpplus interface. This is available via the IBM Passport Advantage website , or via fix central for latest fixpacks.
The full Db2 client is a large image, and has all functionality that IBM offers for client side use. Get this via the IBM Passport Advantage website, or via fix central for latest fixpacks.

Oracle standard edition and realtime pipeline

As mentionned in Oracle documention: https://docs.oracle.com/cd/B28359_01/license.111/b28287/editions.htm#DBLIC116,
Asynchronous change data capture is not available in Oracle Standard Edition.
So the question is : is "realtime pipeline" (vs batch pipeline) mode working with Oracle Standard Edition in Google Cloud Data Fusion ?
Cloud Data Fusion currently does not support this capability. However, there are plans to support it, if the oracle instance has GoldenGate or LogMiner enabled.

How to set DB2 SQL ANSI Mode

I have a php project developed up on Ubuntu Intel 64 Bit machine. It uses the DB2 as database. Now client going to deploy it on IBM I Series Server. So I gave him exported Schema (by db2look command).
db2look -d MYDATABASE -a -e -o mydatabase.sql
But he have problem in importing As exported schema have some keyword not supported on DB2 IBM version. He point out on octets keyword. But definitely more could be there. So he want us to convert our schema to some MySQL or ANSI Mode. But I did not found any tutorial to convert DB2 schema or change Mode.
I am very new to DB2, Any all my DB exposure to MySQL database only. If anybody have idea about this ?
IBM has a manual
IBM DB2 for i porting guide DB2 for Linux, UNIX and Windows to the IBM i platform
(Updated June 2014)
http://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/servers/enable/site/db2_porting_i.html
Are you using Zend for your PHP by chance?
Zend is supported on the IBM i:
http://www.zend.com/en/solutions/modernize-ibm-i
Also Zend picked up the slack when MySQL support for IBM i was dropped by Oracle
http://www.zend.com/en/solutions/modernize-ibm-i/ibm-i-product/dbi
Zend's DBi product includes the IBMDB2I storage engine allowing php/MySQL apps to run on the IBM i and utilize DB2 for i as the database.

IBM DB2 Type 4 driver?

Where can I find the redistributable version of the IBM DB2 Type 4 driver?
I suppose this is the driver I would use to connect from a Java app (on windows) to DB2 on the mainframe?
You will not be able to connect to the mainframe with any redistributable JDBC driver. The driver pack consists of the actual type 4 driver (db2jcc.jar) and any number of license files of the form:
db2jcc_license_cisuz.jar
where the cisuz bit is variable, indicating the platforms that you're allowed to run on (iSeries, pSeries, System z, LUW and so on).
You're only likely to get cu with any freely distributable pack. You need the z to access DB2 on the mainframe and that's jealously guarded so you'll need to purchase a specific edition of DB2 Connect to get it. I think both PE and EE, the personal and enterprise editions, have this licence file.
Without that license file, the type 4 driver won't even try to talk to the server, you'll get an exception.
IBM's Fix pack site has the "IBM Data Server Driver for JDBC and SQLJ" which is nothing but the JDBC type 4 driver. Though the page I pointed to above happens to be the windows page, it's the same type 4 driver for all platforms, as should be expected.
I don't think any user/password is required.
There is no need to download the JDBC driver separately it is already shipped with your DB2 product.
You can easily find it at this location : C:\Program Files\IBM\SQLLIB\java\db2jcc.jar
db2jcc.jar is the driver name
You can get the drivers from the IBM site. You will need to have IBM ID and password to login (which you can obtain here). Zip file is about 7 MBs, in contains DB2 9.5 JDBC (type 2/4) and SQLJ drivers. Type 4 drivers are in db2jcc4.jar.
However, you won't be able to connect to mainframes with this driver if mainframe is running DB2 for z/OS. To do so, you need at least to purchase DB2 Connect product, which will cost you about $500 minimum.
If you're running on an AS/400 (or iSeries, or whatever the heck IBM is calling it these days), you'll probably want to get it from JTOpen.
Their toolbox replaces the old Java Toolbox and includes the JDBC drivers.
If I need any IBM JARs for DB2 or MQ, I usually just add it to the instructions that DB2 or MQ needs to be installed as a prerequisite along with a URL to download it.
The same goes for Java and many other not easily redistributable products as well.
This eliminates the need to worry about licensing issues as it would be on the onus of the user rather than the vendor to obtain the proper licenses.