|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Copying of Output Array index mulitple times in Message Map |
« View previous topic :: View next topic » |
Author |
Message
|
WMBtoIIB9 |
Posted: Mon Nov 24, 2014 7:03 am Post subject: Copying of Output Array index mulitple times in Message Map |
|
|
Newbie
Joined: 24 Nov 2014 Posts: 1
|
Hi all,
Before Posting this query I have done lots of research, But I dint get the solution.
I have a requirement where I get the input field which is a array of size one and the corresponding output array index size is 50, I have to map all the elements 50 times to output array.
Since the input array index is 1 and output array index is 50 I cant use the for-each function to map. Can any one help me in creating a Copy of the output array index multiple times in Graphical Mapping.
Note: In Esql it has been implemented due to performance it is needed to be implemented using Message map.
Thanks in Advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Nov 24, 2014 7:20 am Post subject: Re: Copying of Output Array index mulitple times in Message |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
WMBtoIIB9 wrote: |
Hi all,
Before Posting this query I have done lots of research, But I dint get the solution.
I have a requirement where I get the input field which is a array of size one and the corresponding output array index size is 50, I have to map all the elements 50 times to output array.
Since the input array index is 1 and output array index is 50 I cant use the for-each function to map. Can any one help me in creating a Copy of the output array index multiple times in Graphical Mapping.
Note: In Esql it has been implemented due to performance it is needed to be implemented using Message map.
Thanks in Advance |
Message map will not give you a significant performance improvement over ESQL... In your ESQL code did you use references or indexes? If using indexes change to references. This will give you the performance increase you are looking for...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
martinb |
Posted: Tue Dec 02, 2014 11:34 pm Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
Just for the record the Graphical Data Mapper provides the "Append" transform that allows you to append additional instances of a target array in the order of each input you wire into the transform.
The number of output array instances will be the sum of the number of instances the nested mapping of each wired input produces.
Note that the Append transform will only appear in the transform pick list once you have created a wiring with more than one input to a repeating target. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|