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 » Throw exception

Post new topic  Reply to topic
 Throw exception « View previous topic :: View next topic » 
Author Message
vijayakumar
PostPosted: Thu Oct 14, 2010 2:50 am    Post subject: Throw exception Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

I am using user exception in my esql such as

Set Environment.Variables.msg='smp'
throw user exception VALUES('The SQL State: ', SQLSTATE,
'The SQL Code: ', SQLCODE,
'The SQLNATIVEERROR: ', SQLNATIVEERROR,
'The SQL Error Text: ', SQLERRORTEXT);

But while executing , i am getting error as

Error detected whilst executing the SQL statement 'THROW EXCEPTION VALUES( 'The SQL State: ', SQLSTATE, 'The SQL Code: ', SQLCODE, 'The SQLNATIVEERROR: ', SQLNATIVEERROR, 'The SQL Error Text: ', SQLERRORTEXT);'. :

Kindly anyone suggest on this .
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Oct 14, 2010 4:41 am    Post subject: Re: Throw exception Reply with quote

Grand High Poobah

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

vijayakumar wrote:
Kindly anyone suggest on this .


Show us the error that's being detected & we'll suggest.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Throw exception
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.