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 » General Discussion » problem while calling MQ in Stored Proc

Post new topic  Reply to topic
 problem while calling MQ in Stored Proc « View previous topic :: View next topic » 
Author Message
mqdb2
PostPosted: Mon Aug 27, 2007 12:14 pm    Post subject: problem while calling MQ in Stored Proc Reply with quote

Newbie

Joined: 27 Aug 2007
Posts: 1

Hi All,

I am using MQ API in Java stored procedure and I am calling this Java stored procedure from DB2 stored procedure it is giving me following error
if anybody come through this kind of error please help me to resolve the problem.

I placed the com.ibm.mq.jar in SQLLIB/lib folder of DB2 and SQLLIB/FUNCTION folder of DB2 but there is no luck.


------------------------------ Commands Entered ------------------------------
CALL SELECT_PROC3(1);
------------------------------------------------------------------------------
CALL SELECT_PROC3(1)
SQL4302N Procedure or user-defined function "DB2ADMIN.SELECT_PROC3", specific
name "SELECT3" aborted with an exception "com/ibm/mq/MQEnvironment".
SQLSTATE=38501

SQL4302N Procedure or user-defined function "DB2ADMIN.SELECT_PROC3", specific name "SELECT3"
aborted with an exception "com/ibm/mq/MQEnvironment ".

Explanation:

The procedure or user-defined function aborted with an exception.
The administration notification log contains a stack traceback
for the aborted routine.

User Response:

Debug the routine to eliminate the exception.

sqlcode : -4302

sqlstate : 38501
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 27, 2007 12:18 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Why ever did you think that com.ibm.mq.jar was the only jar file necessary?

Why haven't you looked at the administration notification log, to see the stack traceback?
_________________
I am *not* the model of the modern major general.
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 » General Discussion » problem while calling MQ in Stored Proc
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.