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 » Oracle error Invalid cursor state - PASSTHRU stored proc

Post new topic  Reply to topic
 Oracle error Invalid cursor state - PASSTHRU stored proc « View previous topic :: View next topic » 
Author Message
HYY
PostPosted: Fri Aug 05, 2005 5:48 am    Post subject: Oracle error Invalid cursor state - PASSTHRU stored proc Reply with quote

Newbie

Joined: 05 Aug 2005
Posts: 1

Hi, I am digging my head on this problem. Any help and comments will be very much appreciated.

I have set up the ODBC link to access the database and followed manual for the DSN configuration. I am able to execute SQL statement using PASSTHRU. However, when I am trying to invoke stored proc using PASSTHRU statement I keep having the runtime error back :

Database error: SQL State'24000'; Native Error Code'0'; Error Text '[DataDirect][ODBC Oracle driver] Invalid cursor state'

ESQL code is:
SET OutputRoot.XML.GetReferenceData.Result.Data[] = PASSTHRU('{CALL SETAS_APP.SIMPLE1(?)}',OutputRoot.XML.GetReferenceData.EMPNO);

Oracle stored proc is:

( p1 IN INT ) IS
tmpVar NUMBER;
BEGIN
tmpVar := p1;
END simple1;

stored proc name: SIMPLE1
schema: SETAS_APP

The stored proc has been tested working fine using SQLPLUS.

WBIMB version : 5.0.1.4 (on WINDOW)
ODBC driver: MQSeries DataDirect 4.10 32 BIT Oracle 8
Oracle Database: Oracle 9

Any comments? Many thanks!!!

HYY
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 » Oracle error Invalid cursor state - PASSTHRU 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.