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 » Accessing message map from ESQL

Post new topic  Reply to topic
 Accessing message map from ESQL « View previous topic :: View next topic » 
Author Message
Cubersome
PostPosted: Wed Apr 25, 2012 8:09 am    Post subject: Accessing message map from ESQL Reply with quote

Apprentice

Joined: 02 Mar 2012
Posts: 37

Hi,
Can you please let me know how to access the message map from ESQL? I looked at the Infocenter and I am using CALL statement to call the map but it is giving syntax error. If anybody has done this please provide the syntax?
Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 25, 2012 8:17 am    Post subject: Re: Accessing message map from ESQL Reply with quote

Grand High Poobah

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

Cubersome wrote:
I looked at the Infocenter and I am using CALL statement to call the map but it is giving syntax error.


Prsumably you mean this? What version of WMB? What version of the Toolkit?

What does your CALL statement look like?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Cubersome
PostPosted: Wed Apr 25, 2012 9:12 am    Post subject: Reply with quote

Apprentice

Joined: 02 Mar 2012
Posts: 37

WMB - 7.0.0.3
I am using something like this:
CALL brokerschema.mapname(InputRoot.MRM,OutputRoot.XMLNSC,InputLocalEnvironment,OutputLocalEnvironment);

When I am executing this I am getting an user exception. Please help.
The same mapping node is working fine in separate flow. So I m thinking the way I am calling the map is wrong. Please advice.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Apr 25, 2012 9:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I don't think you want the parentheses.
Code:
 CALL brokerschema.mapname InputRoot.MRM,OutputRoot.XMLNSC InputLocalEnvironment OutputLocalEnvironment;


Also remember that "brokerschema.mapname" must actually be the actual name of the broker shcema and the actual name of the map.
Back to top
View user's profile Send private message
Cubersome
PostPosted: Wed Apr 25, 2012 10:16 am    Post subject: Reply with quote

Apprentice

Joined: 02 Mar 2012
Posts: 37

If I am removing the parentheses it is giving syntax error. Can you please post the correct syntax.
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 » Accessing message map 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.