IBM Support

Operations using BLOB and CLOB fields

Troubleshooting


Problem

When using BLOB fields in Framework Manager there are some limitations imposed upon their use by the underlying database. Due to the potential size of a BLOB field databases tend to prevent use of BLOBs in joins, grouping, scalar functions, and some aggregate functions.

Symptom

There are several scenarios where this issue may occur. Based on the different circumstances there are various error messages that may be encountered.

QE-DEF-0186 General error.

Trace back:
WPBIBusMethod.cpp(190): WPDataRetrievalException: CCL_CAUGHT: WPBIBusMethod::run
WPReportExecutionMethod.cpp(174): WPDataRetrievalException: CCL_RETHROW: WPReportExecutionMethod::checkRequestForExceptions
WPExecuteRequestThread.cpp(169): WPDataRetrievalException: WPExecuteRequestThread::checkException
WPEngine.cpp(946): WPDataRetrievalException:
WPController.cpp(263): WPDataRetrievalException: CCL_RETHROW: WPController::executeRendering()
LWDataRetrievalEngine.cpp(305): WPDataRetrievalException: CCL_RETHROW: LWDataRetrievalEngine::prepare
LWDataRetrievalEngine.cpp(1838): WPDataRetrievalException: CCL_THROW: LWDataRetrievalEngine::runQSQuery
Source/QE_QsApi.cpp(3337): QSException: CCL_THROW: QE

or

QE-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions'.
UDA-SQL-0446 Oracle returned an error message.
ORA-00932: inconsistent datatypes: expected NUMBER got LONG

or

BMT-MD-0003 UDA-SQL-0220 A database key or unique index is required to access blob data.

or

RQP-DEF-0403 Using a blob column in this query requires that the query subject [Namespace Name].[Query Subject Name] must have either a key or a unique index.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Framework Manager","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1;10.2","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Cognos Business Intelligence

Software version:
10.2.2, 10.2.1, 10.2

Operating system(s):
Linux, Windows

Document number:
370861

Modified date:
08 May 2025

UID

swg21342987

Manage My Notification Subscriptions