IBM Support

ITM 630 Summarization and Pruning Agent generated a SqlException

Troubleshooting


Problem

Summarization and Pruning Agent  stopped working after upgrading to 6.3 level and the agent generated a SqlException SQLCODE "-104", SQLSTATE "42601" and message tokens "DEFAULT -1|8)

Symptom

The S&P agent RAS1 log has the following error :

== 40 t=Thread-3 SQLException occurred. SQL State = 42601 , SQL Error Code = -104
== 41 t=Thread-3 com.ibm.db2.jcc.a.bn: An unexpected token "DEFAULT -1" was found following "8),IN dataPartID int".  Expected tokens may include:  "<space>".. SQLCODE=-104, SQLSTATE=42601, DRIVER=3.51.90
 at com.ibm.db2.jcc.a.wc.a(wc.java:592)
 at com.ibm.db2.jcc.a.wc.a(wc.java:60)
 at com.ibm.db2.jcc.a.wc.a(wc.java:127)
 at com.ibm.db2.jcc.a.fl.c(fl.java:1907)
 at com.ibm.db2.jcc.a.fl.d(fl.java:1895)
 at com.ibm.db2.jcc.a.fl.a(fl.java:1422)
 at com.ibm.db2.jcc.t4.db.g(db.java:138)
 at com.ibm.db2.jcc.t4.db.a(db.java:38)
 at com.ibm.db2.jcc.t4.t.a(t.java:32)
 at com.ibm.db2.jcc.t4.sb.h(sb.java:141)
 at com.ibm.db2.jcc.a.fl.O(fl.java:1393)
 at com.ibm.db2.jcc.a.gl.Ob(gl.java:2471)
 at com.ibm.db2.jcc.a.gl.e(gl.java:3116)
 at com.ibm.db2.jcc.a.gl.Db(gl.java:572)
 at com.ibm.db2.jcc.a.gl.executeUpdate(gl.java:555)
 at com.tivoli.twh.ksy.db.WHPreparedStatement.executeUpdate (WHPreparedStatement.java:718)
 at com.tivoli.twh.ksy.db.FunctionManager.createFunction (FunctionManager.java:2905)
 at com.tivoli.twh.ksy.db.FunctionManager.create(FunctionManager.java: 396)
 at com.tivoli.twh.ksy.agg.AggProduct.setupParameters(AggProduct.java:996)
 at com.tivoli.twh.ksy.Enable.run(Enable.java:373)
 at com.tivoli.twh.ksy.Enable.runMain(Enable.java:239)
 at com.tivoli.twh.ksy.Enable$1.run(Enable.java:176)
 at java.lang.Thread.run(Thread.java:801)

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions","Edition":"All Editions","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

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:
10 July 2024

UID

ibm10729977