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 » Calling the procedure dynamically.

Post new topic  Reply to topic
 Calling the procedure dynamically. « View previous topic :: View next topic » 
Author Message
kunal07
PostPosted: Mon Apr 07, 2014 6:49 am    Post subject: Calling the procedure dynamically. Reply with quote

Acolyte

Joined: 05 Dec 2012
Posts: 72

hi all,

I am trying to create a generic flow in which i will pass certain value and it will call that procedure. is there any way to achieve this.??


Ex : i will pass the value of variable say Value = 'Proc1'(-,-) to the subflow and in subflow i have one esql utility which will contain n numbers of procedure like Proc1,Proc2,Proc3 and so on.
and if i will pass the value of a variable say Value = Proc2(-,-) then it will call proc 2 and give the result.
is there any way to dyncamically call the procedure?
Back to top
View user's profile Send private message
McueMart
PostPosted: Mon Apr 07, 2014 7:02 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

ESQL does have the EVAL statement : http://pic.dhe.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fak05020_.htm&resultof%3D%2522%2565%2576%2561%256c%2522%2520

It is generally frowned upon to use it though unless you have a specific case for using it. Try to think of any way to avoid using it if at all possible.
Back to top
View user's profile Send private message
sandman147
PostPosted: Mon Apr 07, 2014 7:09 am    Post subject: Reply with quote

Apprentice

Joined: 01 Sep 2013
Posts: 42

How about the 'CASE' statement
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 » Calling the procedure dynamically.
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.