IBM Support

Running a report with a stored procedure results in a UDA-SQL-0107 error

Troubleshooting


Problem

A report containing a stored procedure which modifies a database (insert/delete/update) throws the following error: UDA-SQL-0107 A general exception has occurred during operation "execute"

Symptom

The following errors are thrown when running a report with a stored procedure that updates a database:

RQP-DEF-0177 An error occurred while performing operation 'sqlOpenResult' status='-28'
UDA-SQL-0114 The cursor applied to the operation "sqlOpenResult" is inactive.
UDA-SQL-0107 A general exception has occurred during operation "execute".

If Oracle is being used, the following error will be present:
ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Framework Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2;10.2.1;10.2.2","Edition":"Edition Independent","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, 10.2.1, 10.2.2

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
499491

Modified date:
08 May 2025

UID

swg21653429

Manage My Notification Subscriptions