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 » Copying of Output Array index mulitple times in Message Map

Post new topic  Reply to topic
 Copying of Output Array index mulitple times in Message Map « View previous topic :: View next topic » 
Author Message
WMBtoIIB9
PostPosted: Mon Nov 24, 2014 7:03 am    Post subject: Copying of Output Array index mulitple times in Message Map Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 24, 2014 7:20 am    Post subject: Re: Copying of Output Array index mulitple times in Message Reply with quote

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
View user's profile Send private message Send e-mail
martinb
PostPosted: Tue Dec 02, 2014 11:34 pm    Post subject: Reply with quote

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
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 » Copying of Output Array index mulitple times in Message Map
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.