My clients are converting from C10 to C11. And along with that change we are changing the Framework manager packages and Data Source from using CQM (compatible query mode), which for us used either OleDB or SQL Native Client, to DQM (dynamic query mode), which uses the java jdbc driver. We have come across many reports that worked in CQM that throw an error in DQM. This is an informal list of what we have experienced along with some notes from a MotioPI presentation..
Errors in DQM that were not errors in CQM or differences in report output from DQM to CQM
1) some variation of error "StringColumnVector incompatible with com.cognos.xqe.runtree.relational.vectorization.DecimalColumnVector" means that a data type is being compared to a different type. In this case a string was being compared to a decimal.
2) Comments in advanced filter, sql query, custom calculation can cause sporadic errors. Remove all comments, '--' or '/* */'.
3) All SUM() functions need to be replaced with Total()
4) some calculations will default to 2.00 whereas CQM might have defaulted to 2
5) Some functions provide a different result, such as total(total(sales))
6) Filter on calculated/aggregate column may lead to different results. CQM always uses AFTER aggregations regardless if you select before or after. DQM honors the aggregation choice which may result in a difference
7) DQM may apply a different order of operations that causes changes in report output. Report level cardinality definition lead to change in report output. DQM is more rigid on cardinality
8) DQM will show first message, even if only a warning. Will not show the next message which might be an error. Need to clear up all warnings to see errors. CQM shows the first error.
9) DQM gives sporadic errors with joins in the filter. Some of our clients had filters that contained an expression that compared fields from two different queries instead of doing a JOIN. CQM gave no errors.
10) DQM errors "Your request could not be completed because the Query Service is busy" caused by Initial JVM heap size and JVM heap size limit in the Query Service not having enough memory.
Feel free to add to the list or to make any comments.
------------------------------
brenda grossnickle
------------------------------
#CognosAnalyticswithWatson