IBM Support

"Invalid length parameter passed to the LEFT or SUBSTRING function" error when publishing Data Mart - solved by deleting/recreating DM database - caused by APAR PH28040

Troubleshooting


Problem

User clicks "Transfer - Publish Data and Structures - Publish Data Mart". User chooses relevant template (and parameters), then clicks "Run" button.
The 'Log Report' appears, with an error.
Problem affects all templates.

Symptom

image 5164
<DM_template_name>: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.ArgumentException: The statement has been terminated.
Invalid length parameter passed to the LEFT or SUBSTRING function.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
   at Cognos.Controller.Proxy.CCRWS.DMPublishT_PublishTemplate(String sGuid, String sUser, String sTemplateID, Int32 lDimBits, String sPeriods, Int32& lErrNumber, String& sErrDescription)

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"ARM Category":[{"code":"a8m0z000000Gmx2AAC","label":"Error"}],"ARM Case Number":"TS003957598","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","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:
09 May 2025

UID

ibm16250807