ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Timeout Notification node Database access issue

Post new topic  Reply to topic
 Timeout Notification node Database access issue « View previous topic :: View next topic » 
Author Message
siddique20
PostPosted: Sun Aug 17, 2014 11:00 pm    Post subject: Timeout Notification node Database access issue Reply with quote

Novice

Joined: 03 Jul 2014
Posts: 13

Hi There

I have a Message Flow starting with the Timeout Notification node. Timeout node is configured to execute after every 10 seconds interval. First cycle of the flow execute without an error. but the second flow generate an error on Database select query. I'm accessing oracle database with ODBC connection.

This is the code generating an error....

DECLARE MyTimeStamp TIMESTAMP;
SET MyTimeStamp = TIMESTAMP '2014-08-13 10:10:10';
SET Environment.Variables.Alerts = NULL;
SET Environment.Variables.Alerts[] =
(SELECT SMS.DEBITBRANCHCODE, SMS.DEBITACCOUNTNO, SMS.TRDATE, SMS.AMOUNT, SMS.UNIQUEID
FROM Database.MB9_TRANSACTION_SMS_VIEW AS SMS WHERE SMS.TRDATE > MyTimeStamp);



This is the exception detail generated.....

(0x01000000:Name ):DatabaseException = (
(0x03000000:NameValue):File = 'F:\build\slot1\S000_P\src\DataFlowEngine\MessageServices\ImbOdbc.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 3412 (INTEGER)
(0x03000000:NameValue):Function = 'ImbOdbcConnection::checkRcInner' (CHARACTER)
(0x03000000:NameValue):Type = '' (CHARACTER)
(0x03000000:NameValue):Name = '' (CHARACTER)
(0x03000000:NameValue):Label = '' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPmsgs' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2322 (INTEGER)
(0x03000000:NameValue):Text = 'Child SQL exception' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'HY000' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '0' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '[IBM][ODBC Oracle Wire Protocol driver]Data type for parameter 1 has changed since first SQLExecute call.' (CHARACTER)
)
)


Please help.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 18, 2014 4:18 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Ok, so it looks like you are using a cached SQL statement. But the parameters you are passing to the SQL statement are not type-safe. Looks like one of the parameters, MyTimeStamp is not always being passed with the same type.

Hope this helps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Timeout Notification node Database access issue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.