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 » ESQL Question

Post new topic  Reply to topic
 ESQL Question « View previous topic :: View next topic » 
Author Message
pfaulkner
PostPosted: Fri May 09, 2003 12:39 pm    Post subject: ESQL Question Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

I have a compute node in which I use a CAST command. It is possible the the Cast could fail. Is there any way to do something like a try-catch to catch and possible errors like this and handle within the esql?

thanks
Back to top
View user's profile Send private message AIM Address
kirani
PostPosted: Fri May 09, 2003 4:35 pm    Post subject: Reply with quote

Jedi Knight

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

There is nothing like try-catch block in ESQL.
You will have to use try-catch node to do this, In the catch terminal investigate the exceptionList and look for that particular CAST error. The same can be done in the failure terminal of the Comput node also. In either case all changes made by the compute node will be rolled-back.
_________________
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
wmqiguy
PostPosted: Mon May 12, 2003 10:47 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

Take a look at the ESQL Reference for the THROW command. I think that will help you achieve what you are trying to do.
Back to top
View user's profile Send private message
pfaulkner
PostPosted: Mon May 12, 2003 11:19 am    Post subject: Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

That's actually the opposite of what I want. Throw allows you to throw a user definied exception I want to be able to catch a system exception within a compute node so I can act upon it with ESQL code.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL Question
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.