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 » DB2 Select failing in Custom node

Post new topic  Reply to topic
 DB2 Select failing in Custom node « View previous topic :: View next topic » 
Author Message
subhadra
PostPosted: Tue May 07, 2002 5:11 am    Post subject: Reply with quote

Newbie

Joined: 06 May 2002
Posts: 8

Hi,

Have written a custom node, which performs a Select on a table. It was working fine, till one fine day, when it gave a SQL select failure. Since then, i just cannot get it to work. Is there any way in which i can trap the DB2 SQL error code? (All schema names, etc. are OK)

Thanx in advance,
Subhadra
Back to top
View user's profile Send private message
kirani
PostPosted: Tue May 07, 2002 12:36 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Are you throwing back the exception in your plug-in? I don't think you can refer to sQL error code directly in your plug-in. Try printing ExceptionList in your message flow, it will have DB2 SQL Error code in it.


_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
subhadra
PostPosted: Fri May 10, 2002 11:11 pm    Post subject: Reply with quote

Newbie

Joined: 06 May 2002
Posts: 8

Yes, i AM throwing an exception, and printed the exception list trace, this doesn't provide the SQL error code. The thing which puzzles me is that the code works perfectly fine for some time, and suddenly, i get the SQL select failed error. Pls note that i have not made any change to the code, or the database, and the Select statement always remains the same !

Is the resource getting locked, or something like that ???

Regds
Subhadra
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » DB2 Select failing in Custom node
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.