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 » How to call the DB function from ESQL?

Post new topic  Reply to topic
 How to call the DB function from ESQL? « View previous topic :: View next topic » 
Author Message
gheekshike
PostPosted: Sun Apr 13, 2014 2:22 am    Post subject: How to call the DB function from ESQL? Reply with quote

Novice

Joined: 13 Dec 2012
Posts: 11

Hi all,
I have Oracle db Function like this

Code:
FUNCTION GET_UNBILED_TRANSACTION ( p_card_number IN VARCHAR2,

p_transaction_list OUT CLOB,

p_error_code OUT VARCHAR2,

p_error_description OUT VARCHAR2)

RETURN PLS_INTEGER;"


How can I call the above function from ESQL?

Please help me, Its urgent


Thanks In Advance.











Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Apr 14, 2014 1:20 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

We will be glad to help, but there is a *lot* of information on the internet.
We do not want to tell you things that you already know. So please tell us:
a) where you have looked for information and
b) what you have tried ( and what happened when you tried it ).
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Mon Apr 14, 2014 2:26 am    Post subject: Re: How to call the DB function from ESQL? Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

If you have something working on your Oracle(-SQL-Developer) you can just copy and paste that and put it into a "PASSTHRU("...")" in ESQL

(I am not sure if this works with stored procedures, but with SQL-Queries it does!)

You have to configure ODBC data sources (for the connection with Oracle), which is properly documented in the forum.
_________________
Just use REFERENCEs
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 » How to call the DB function from ESQL?
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.