Author |
Message
|
Cubersome |
Posted: Wed Apr 25, 2012 8:09 am Post subject: Accessing message map from ESQL |
|
|
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 |
|
 |
Vitor |
Posted: Wed Apr 25, 2012 8:17 am Post subject: Re: Accessing message map from ESQL |
|
|
 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 |
|
 |
Cubersome |
Posted: Wed Apr 25, 2012 9:12 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Apr 25, 2012 9:18 am Post subject: |
|
|
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 |
|
 |
Cubersome |
Posted: Wed Apr 25, 2012 10:16 am Post subject: |
|
|
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 |
|
 |
|