IBM Support

"Standard Error ... 5 ... (0x80040E14): [DB2/NT64] SQL0104N An unexpected token "END-OF-STATEMENT"..." when running Database optimise

Troubleshooting


Problem

User launches Controller. User clicks "Maintain - User - Single Mode". User clicks "Maintain - Database - Optimize". User clicks 'run' button. User receives error message.

Symptom

Standard Error
Number: 5
Source: FrangoDirect.GenCompStrucD.GenBolvkd#ControllerProxyClient
Description: System.Web.Service.Protocols.SoapException: Server was unable to process request. --->
System.Runtime.InteropServices.COMException (0x80040E14):
[DB2/NT64] SQL0104N An unexpected token "END-OF-STATEMENT" was found following "UNCATE TABLE XBOLVKD". Expected tokens may include: "IMMEDIATE:". SQLSTATE=42601

at FrCompanyBTGenCompStrucTClass.GenBolvkd(String sGuid, String sUser, String sPeriod, Boolean& bErr, Int32& IErr)
<....>
[OK]

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

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 the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. 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:
IBM Cognos Controller

Software version:
8.5.1

Operating system(s):
Windows

Document number:
160493

Modified date:
08 May 2025

UID

swg21500972

Manage My Notification Subscriptions