Author |
Message
|
Ashok Kumar |
Posted: Tue Feb 09, 2016 2:21 am Post subject: Dynamicall override the .map file in IIB maping node |
|
|
Acolyte
Joined: 01 Jul 2013 Posts: 53
|
Hi All,
I am trying to override the .map file in IIB mapping node using esql but i am getting error like can't find override the map
Here is the code.
SET OutputLocalEnvironment.Mapping.MappingRoutine =
'{http://www.ibm.com/mimapper}:mapper_po';
Thanks in advance. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 09, 2016 5:59 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I'm quite sure the errors you get are significantly more detailed than "can't find the map".
I'm quite sure that a user trace will provide a lot more information about what your flow is actually doing. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
dian.mushkov |
Posted: Tue Feb 09, 2016 7:44 am Post subject: |
|
|
Newbie
Joined: 11 Oct 2015 Posts: 6
|
Your format is wrong
should be
{broker.schema}:Map
(without .map extension) |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Feb 09, 2016 7:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
dian.mushkov wrote: |
(without .map extension) |
I don't see a .map extension in the question. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 09, 2016 7:54 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I'm not so confident that
Code: |
'{http://www.ibm.com/mimapper} |
is a broker schema. Looks much more like a namespace...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
martinb |
Posted: Fri Feb 19, 2016 12:25 am Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
Hi,
I find it's worth looking at the latest version info center to see if content has been improved.
In this case it has, with the format being confirmed
"
The Mapping node supports a local environment override for the mapping script, which enables you to dynamically select the map that will be run. The map name that is specified in the input message is used in place of the one that is set in the Mapping node. The override is in the following format:
SET OutputLocalEnvironment.Mapping.MappingRoutine = '{brokerSchemaName}:mapName';
"
Mapping node
However in still includes an example that is incorrect, so I've posted an IDoc to have that corrected. |
|
Back to top |
|
 |
|