<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sybase: Rising Column option produces error: &amp;quot;java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0.&amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420207#M94207</link>
    <description>&lt;P&gt;Yeah, but the Name column is not going to enable you to find new records right? You'll need to find a column that actually increases for newly inserted entries. So either an auto increment row ID column or a column that provides a timestamp of when the respective line was added to the database.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 08:48:34 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-08-24T08:48:34Z</dc:date>
    <item>
      <title>Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420198#M94198</link>
      <description>&lt;P&gt;Issue Description : Configured Sybase to Connect with Splunk and works Fine. While using Rising Column option for the query below we receive this error : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0." 

SELECT "DBA"."f_Day_ComponentMetrics"."Day", 
"DBA"."f_Day_ComponentMetrics"."Node Name", 
"DBA"."f_Day_ComponentMetrics"."Node Location", 
"DBA"."f_Day_ComponentMetrics"."Node Family", 
"DBA"."f_Day_ComponentMetrics"."Node Availability (avg)", 
"DBA"."f_Day_ComponentMetrics"."Node Availability (min)", 
"DBA"."f_Day_ComponentMetrics"."Node Availability (max)", 
"DBA"."f_Day_ComponentMetrics"."lt_TimeStamp" 
FROM "DBA"."f_Day_ComponentMetrics" WHERE "Node Name" &amp;gt; ? 
ORDER BY "Node Name" ASC 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Aug 2018 10:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420198#M94198</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-23T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420199#M94199</link>
      <description>&lt;P&gt;Try this &lt;BR /&gt;
    SELECT "DBA"."f_Day_ComponentMetrics"."Day", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Name" as Node, &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Location", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Family", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Availability (avg)", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Availability (min)", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."Node Availability (max)", &lt;BR /&gt;
    "DBA"."f_Day_ComponentMetrics"."lt_TimeStamp" &lt;BR /&gt;
    FROM "DBA"."f_Day_ComponentMetrics" WHERE Node &amp;gt; ? &lt;BR /&gt;
    ORDER BY Node ASC&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420199#M94199</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2020-09-29T21:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420200#M94200</link>
      <description>&lt;P&gt;Stil lsame error&lt;/P&gt;

&lt;P&gt;java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420200#M94200</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-24T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420201#M94201</link>
      <description>&lt;P&gt;Did you actually set an initial value for the checkpoint?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 07:52:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420201#M94201</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-08-24T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420202#M94202</link>
      <description>&lt;P&gt;@anitaroseline  I think the issue is Checkpoint field being null. Did you update the checkpoint value? or is it blank?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420202#M94202</guid>
      <dc:creator>vishaltaneja070</dc:creator>
      <dc:date>2018-08-24T08:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420203#M94203</link>
      <description>&lt;P&gt;Correct its blank.Thanks for bringing up.&lt;/P&gt;

&lt;P&gt;Please can you advise me what could be set.For SQL inputs i have give Date and time.&lt;/P&gt;

&lt;P&gt;But here for Sybase input i entered the same and i get same error.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:13:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420203#M94203</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-24T08:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420204#M94204</link>
      <description>&lt;P&gt;You selected "Node Name" as the rising column. That doesn't sound like a timestamp field?&lt;/P&gt;

&lt;P&gt;So either you need to use a different column, or find a suitable value from that column to use as the initial checkpoint. You could run the query without the WHERE part, to see what value shows up on top.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:24:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420204#M94204</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-08-24T08:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420205#M94205</link>
      <description>&lt;P&gt;Yeah without WHERE works perfect.I wanted to use rising column here as i wanted to index only when there are some new events.&lt;/P&gt;

&lt;P&gt;Date is not supported for Sybase.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420205#M94205</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-24T08:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420206#M94206</link>
      <description>&lt;P&gt;But one Question per splunk docs,   varchar int, float, real,&lt;BR /&gt;
bigint, number are supported with rising columns.&lt;/P&gt;

&lt;P&gt;Hence i do not have proper timestamp filed i choose Node name.&lt;/P&gt;

&lt;P&gt;So how could we use them in  combination with checkpoint&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420206#M94206</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-24T08:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420207#M94207</link>
      <description>&lt;P&gt;Yeah, but the Name column is not going to enable you to find new records right? You'll need to find a column that actually increases for newly inserted entries. So either an auto increment row ID column or a column that provides a timestamp of when the respective line was added to the database.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 08:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420207#M94207</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-08-24T08:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420208#M94208</link>
      <description>&lt;P&gt;Correct .Let Me check them and thanks for the quick response&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 09:07:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420208#M94208</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-24T09:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420209#M94209</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;I found a column timestamp from sybase.&lt;/P&gt;

&lt;P&gt;But when i choose rising column input  its Character set seems to be blank (meaning it will display the format of respective column like Varchar, real, timestamp).In My case its blank.Any ideas.&lt;/P&gt;

&lt;P&gt;SELECT "DBA"."f_Day_ComponentMetrics"."Day",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Name",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Location",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Family",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (avg)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (min)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (max)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."lt_TimeStamp" &lt;BR /&gt;
FROM "DBA"."f_Day_ComponentMetrics" WHERE lt_TimeStamp &amp;gt; ?&lt;BR /&gt;
ORDER BY lt_TimeStamp&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420209#M94209</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2020-09-29T21:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420210#M94210</link>
      <description>&lt;P&gt;Helo All,&lt;/P&gt;

&lt;P&gt;I have found another column and similar error below:&lt;/P&gt;

&lt;P&gt;SELECT "DBA"."f_Day_ComponentMetrics"."Hour",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Name",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Location",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Family",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Vendor",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (avg)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (max)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Node Availability (min)",&lt;BR /&gt;
"DBA"."f_Day_ComponentMetrics"."Day"&lt;BR /&gt;
FROM "DBA"."f_Day_ComponentMetrics"&lt;BR /&gt;
WHERE "DBA"."f_Day_ComponentMetrics"."Hour" &amp;gt; '2018-08-26'&lt;BR /&gt;
ORDER BY 'Hour' ASC &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:02:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420210#M94210</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2020-09-29T21:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420211#M94211</link>
      <description>&lt;P&gt;if you don't sort and filter by that column, can you see any data in that and if so, what does that look like?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 11:50:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420211#M94211</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-08-27T11:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420212#M94212</link>
      <description>&lt;P&gt;Yes and it looks like Time and date format.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:47:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420212#M94212</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-27T12:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420213#M94213</link>
      <description>&lt;P&gt;2017-01-17 13:00:00.0     like this&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 12:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420213#M94213</guid>
      <dc:creator>anitaroseline</dc:creator>
      <dc:date>2018-08-27T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase: Rising Column option produces error: "java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 0."</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420214#M94214</link>
      <description>&lt;P&gt;The issue is mainly due to rising column value being null. The rising column field should be unique for splunk to identify any new data.&lt;/P&gt;

&lt;P&gt;You can check for the with your database administrator to add a key value to the current tables or use a timestamp filed if already available. if not you can also  use cast to create a new field, example below and use this field as your rising column. Ensure you put some checkpoint value.&lt;/P&gt;

&lt;P&gt;cast(&lt;BR /&gt;
    cast(datepart(year, eventtime) as varchar) +&lt;BR /&gt;
    right('0' + cast (datepart(month, eventtime) as varchar),2) + &lt;BR /&gt;
    right('0' + cast (datepart(day,eventtime) as varchar),2) + &lt;BR /&gt;
    right('0' + cast (datepart(hour,eventtime) as varchar),2) +&lt;BR /&gt;
    right('0' + cast (datepart(minute,eventtime) as varchar),2) +&lt;BR /&gt;
    right('0' + cast (datepart(second,eventtime) as varchar),2) +&lt;BR /&gt;
    right('0' + cast (datepart(millisecond,eventtime) as varchar),3)&lt;BR /&gt;
    as numeric(18,0)) as numtime&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 10:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Sybase-Rising-Column-option-produces-error-quot-java-sql/m-p/420214#M94214</guid>
      <dc:creator>akshatj2</dc:creator>
      <dc:date>2019-02-05T10:39:53Z</dc:date>
    </item>
  </channel>
</rss>

