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 » Can we do DB call in Custom ESQL code

Post new topic  Reply to topic
 Can we do DB call in Custom ESQL code « View previous topic :: View next topic » 
Author Message
sasad
PostPosted: Thu Sep 18, 2014 1:15 am    Post subject: Can we do DB call in Custom ESQL code Reply with quote

Acolyte

Joined: 30 Apr 2014
Posts: 67

Hi everyone,

I have following message flow,

TCP/IP Input => Mapping Node => MQInput => MQGet => TCP/IP Output

I get Model1 as request and then I need to transform it to Model2. I am using mapping node for thsi transformation. There is one field in Output model whose value will be fetched from DB using Input field. I don't know if this can be done in Mapping node or not.

Can we do db call in Custom ESQL code?
Can we call SQL server procedure in mapping node?

Experts Please suggest any solution!

thanks!!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 18, 2014 4:29 am    Post subject: Reply with quote

Grand High Poobah

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

yes to both.
Read up in the infocenter and look at the training videos on the IBM site.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sasad
PostPosted: Thu Sep 18, 2014 6:08 am    Post subject: Reply with quote

Acolyte

Joined: 30 Apr 2014
Posts: 67

As per info center we can not use SQL calls from Custom ESQL.
http://www-01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/br28672_.htm?lang=en
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 18, 2014 6:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sasad wrote:
As per info center we can not use SQL calls from Custom ESQL.
http://www-01.ibm.com/support/knowledgecenter/SSKM8N_8.0.0/com.ibm.etools.mft.doc/br28672_.htm?lang=en


Then why did you ask:

sasad wrote:
Can we do db call in Custom ESQL code?



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 18, 2014 9:22 pm    Post subject: Reply with quote

Grand High Poobah

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

And thank you for specifying that with Custom ESQL you meant ESQL called from a map... and not custom code you wrote in ESQL for an ESQL node....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sasad
PostPosted: Thu Sep 18, 2014 9:54 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Apr 2014
Posts: 67

Sorry, I didn't checked info center before asking question.

But I mentioned that I am using Mapping node for transformation. Anyways thanks for reply.
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 » Can we do DB call in Custom ESQL code
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.