|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Throw exception |
« View previous topic :: View next topic » |
Author |
Message
|
vijayakumar |
Posted: Thu Oct 14, 2010 2:50 am Post subject: Throw exception |
|
|
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 |
|
 |
Vitor |
Posted: Thu Oct 14, 2010 4:41 am Post subject: Re: Throw exception |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|