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 » Dyanamic DSN in esql call procedure statment

Post new topic  Reply to topic
 Dyanamic DSN in esql call procedure statment « View previous topic :: View next topic » 
Author Message
Spidyctf
PostPosted: Fri Oct 03, 2008 1:54 am    Post subject: Dyanamic DSN in esql call procedure statment Reply with quote

Newbie

Joined: 09 Dec 2006
Posts: 8

Hi

I am trying to call oracle stored procedure from esql in WMB V6.1.
follwing is the code for the same

CALL myproc(0,userName,typeValue,subTypeVal,cellNo,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,attribute9,
attribute10,attribute11,attribute12,attribute13,attribute14,attribute15,createdByUser,media,
createDate,status,incidentNo,returnCode,returnMessage) ;

CREATE PROCEDURE myproc (IN P1 INT,IN P2 CHAR,IN P3 CHAR,IN P4 CHAR,IN P5 CHAR,
IN P6 CHAR,IN P7 CHAR,IN P8 CHAR,IN P9 CHAR,IN P10 CHAR, IN P11 CHAR,IN P12 CHAR,
IN P13 CHAR,IN P14 CHAR,IN P15 CHAR, IN P16 CHAR,IN P17 CHAR,IN P18 CHAR,IN P19 CHAR,
IN P20 CHAR,IN P21 CHAR,IN P22 CHAR, IN P23 DATE, OUT P24 CHAR, OUT P25 INT,OUT P26 INT,OUT P27 CHAR)
EXTERNAL NAME "testschema.myproc";


In the esql node property i have set the DSN name to ORCL and this is working fine with this dsn.

Now i want to use the DSN dynamically for different instances. I have tried using the IN clause with the CALL statement wherein you can specify the DSN name.
But it is giving error stating invalid schema reference.

can anyone give some pointers
Back to top
View user's profile Send private message
Vijay_d
PostPosted: Fri Oct 03, 2008 3:06 am    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2006
Posts: 26
Location: LONDON

Hi,

Can u post how did u use it in the IN clause and also the error log


I think there are few post here which tell how to use dynamic DSN

Thanks
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 » Dyanamic DSN in esql call procedure statment
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.