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 » ODBC return code '-2'

Post new topic  Reply to topic
 ODBC return code '-2' « View previous topic :: View next topic » 
Author Message
nelson
PostPosted: Tue Oct 25, 2016 10:02 am    Post subject: ODBC return code '-2' Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

Hi All,

Have any of you seen this error before?

Code:
Oct 20 10:14:32 server user:err|error IIB[8912912]: IBM Integration Bus v9002 (broker.EG) [Thread 27244] (Msg 1/2) BIP2628E: Exception condition detected on input node 'flow.inputqueue'.
Oct 20 10:14:32 server user:err|error IIB[8912912]: IBM Integration Bus v9002 (broker.EG) [Thread 27244] (Msg 2/2) BIP2321E: Database error: ODBC return code '-2' using ODBC driver manager '/opt/ibm/IE02/lib/libodbcinterface.so'.


It does not say much.

Thanks in advance for your feedback.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 25, 2016 10:24 am    Post subject: Reply with quote

Grand High Poobah

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

It appears that you got an error from SQL that was transformed into an ODBC error. If you have specific errorhandling in place, I believe there is an ODBC function call that would allow you to retrieve the SQL information (error codes etc)...
Pending that can you do a user trace and would it be showing more? Or an ODBC trace?
Anyways it would be worth checking that the ODBC configuration for the DSN is valid and that the broker can indeed talk to the DB in question.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Oct 25, 2016 11:23 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
Anyways it would be worth checking that the ODBC configuration for the DSN is valid and that the broker can indeed talk to the DB in question.




mqsicvp is your friend.

An ODBC trace is your other friend.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Oct 25, 2016 11:56 am    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

fjb_saper wrote:
It appears that you got an error from SQL that was transformed into an ODBC error. If you have specific errorhandling in place, I believe there is an ODBC function call that would allow you to retrieve the SQL information (error codes etc)...
Pending that can you do a user trace and would it be showing more? Or an ODBC trace?
Anyways it would be worth checking that the ODBC configuration for the DSN is valid and that the broker can indeed talk to the DB in question.


Thanks fjb_saper. Well... the fact is that it was a particular incident in that moment. If I test the flow right now it works fine.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 25, 2016 12:32 pm    Post subject: Reply with quote

Grand High Poobah

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

nelson wrote:

Thanks fjb_saper. Well... the fact is that it was a particular incident in that moment. If I test the flow right now it works fine.


So what was different in the environment when the incident happened?
Table locked? Table being edited by someone else? DB down?
Are you able to realiably reproduce the condition?
_________________
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 » ODBC return code '-2'
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.