All Apps and Add-ons

Splunk DB2 connect rising option error

abhijitsaoji
Explorer

I have successfully set-up the connection with DB2 database on Z OS, there are two options Batch and Rising. Batch option is working fine however its very risky and I want to configure Rising option however it is not working. I get below error.

com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][10145][10844][4.13.127] Invalid parameter 1: Parameter index is out of range. ERRORCODE=-4461, SQLSTATE=42815

any help will be highly appreciated.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What is your query? What are you using for the rising column?

---
If this reply helps you, Karma would be appreciated.
0 Karma

abhijitsaoji
Explorer

hi, thanks for your reply. My query is
SELECT *
FROM "XX01"."LOG"
WHERE EVENTTIMESTAMP > '2019-01-01 00:00:00.000'
ORDER BY EVENTTIMESTAMP ASC

I am using EVENTTIMESTAMP as rising column, it is defined as timestamp field.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...