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 » ORA-01006: bind variable does not exist

Post new topic  Reply to topic
 ORA-01006: bind variable does not exist « View previous topic :: View next topic » 
Author Message
madhansathiyamoorthi
PostPosted: Tue Dec 30, 2014 4:39 am    Post subject: ORA-01006: bind variable does not exist Reply with quote

Newbie

Joined: 30 Dec 2014
Posts: 4

Hi
I am trying to call ORACLE stored procedure

Oracle Proc:
PROCEDURE Name_Search(
inpar1 IN INTEGER,
outpar1 OUT INTEGER,
Record1 OUT data_Cur,
outpar2 OUT INTEGER,
outpar3 OUT VARCHAR2,
outpar4 OUT TIMESTAMP);

**Note data_Cur is a record set

ESQL CODE:
Procedure:
CREATE PROCEDURE PROC_CALL (IN inpar1 INTEGER,OUT outpar1 INTEGER,OUT outpar2 INTEGER,OUT outpar3 CHARACTER,OUT outpar4 TIMESTAMP)LANGUAGE DATABASE DYNAMIC RESULT SETS 1 EXTERNAL NAME "mySchema.myPkg.myProc";

CALL:
CALL PROC_CALL(inpar1,outpar1,outpar2,outpar3,outpar4,Environment.ResultSet[]);

i am getting below error

[IBM][ODBC Oracle Wire Protocol driver][Oracle]ORA-01006: bind variable does not exist

Can some one help me?

Thanks in advance
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 30, 2014 6:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Sadly your method signatures do not seem to match...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
madhansathiyamoorthi
PostPosted: Tue Dec 30, 2014 6:47 am    Post subject: Reply with quote

Newbie

Joined: 30 Dec 2014
Posts: 4

fjb_saper wrote:
Sadly your method signatures do not seem to match...


I am not able to find the difference can you please help me
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 30, 2014 12:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

madhansathiyamoorthi wrote:
fjb_saper wrote:
Sadly your method signatures do not seem to match...


I am not able to find the difference can you please help me

order matters?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
madhansathiyamoorthi
PostPosted: Tue Dec 30, 2014 7:01 pm    Post subject: Reply with quote

Newbie

Joined: 30 Dec 2014
Posts: 4

fjb_saper wrote:
madhansathiyamoorthi wrote:
fjb_saper wrote:
Sadly your method signatures do not seem to match...


I am not able to find the difference can you please help me

order matters?


You are right I think I hav placed all in same order except the result set which should be defined last.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 31, 2014 6:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

madhansathiyamoorthi wrote:
fjb_saper wrote:
madhansathiyamoorthi wrote:
fjb_saper wrote:
Sadly your method signatures do not seem to match...


I am not able to find the difference can you please help me

order matters?


You are right I think I hav placed all in same order except the result set which should be defined last.

Is returning a cursor the same as returning a result set ??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
madhansathiyamoorthi
PostPosted: Wed Dec 31, 2014 6:28 am    Post subject: Reply with quote

Newbie

Joined: 30 Dec 2014
Posts: 4

fjb_saper wrote:
madhansathiyamoorthi wrote:
fjb_saper wrote:
madhansathiyamoorthi wrote:
fjb_saper wrote:
Sadly your method signatures do not seem to match...


I am not able to find the difference can you please help me

order matters?


You are right I think I hav placed all in same order except the result set which should be defined last.

Is returning a cursor the same as returning a result set ??


I am noy sure abt that. But I didnt find any way to get the cursor in stored proc to esql. Can please help me how this call esql procedure and call statement should be rewritten.

Thanks in advance
Back to top
View user's profile Send private message
wbisantosh
PostPosted: Tue Feb 24, 2015 5:49 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Nov 2012
Posts: 47

Hello Madhan,

Were you able to get this Issue Fixed ? I am facing the same issue in my Local Windows 7 Environment. I imported the applications which is working perfectly fine in AIX and when I try to call a Stored PROC from WMB, I am facing the same issue.

Environment -
WMB 7.0.0.6
Windows
mqsicvp Connects fine

Thanks
Santosh
Back to top
View user's profile Send private message
nelson
PostPosted: Tue Feb 24, 2015 6:27 pm    Post subject: Reply with quote

Partisan

Joined: 02 Oct 2012
Posts: 313

wbisantosh wrote:
Hello Madhan,

Were you able to get this Issue Fixed ? I am facing the same issue in my Local Windows 7 Environment. I imported the applications which is working perfectly fine in AIX and when I try to call a Stored PROC from WMB, I am facing the same issue.

Environment -
WMB 7.0.0.6
Windows
mqsicvp Connects fine

Thanks
Santosh


Have you enabled "Procedure Return Results" option in your Windows DSN configuration?
Back to top
View user's profile Send private message
wbisantosh
PostPosted: Wed Feb 25, 2015 4:23 am    Post subject: Reply with quote

Apprentice

Joined: 12 Nov 2012
Posts: 47

Thank You Nelson. That did resolve the issue.


Santosh
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 » ORA-01006: bind variable does not exist
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.