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"}}]

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

Modified date:
08 May 2025

UID

swg21500972