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 » Message Set issue

Post new topic  Reply to topic
 Message Set issue « View previous topic :: View next topic » 
Author Message
amitk22784
PostPosted: Thu Feb 23, 2012 6:43 am    Post subject: Message Set issue Reply with quote

Newbie

Joined: 23 Nov 2009
Posts: 9

Hi All

I am facing the issue in message set; I have created the same for fixed length record using MRM domain.

I have create a Message with the name Payflex_record which contain fields 1) Header Record
2)Batch Record
3) Employee Record
4) Normal Pay etcs; all the field contain number of sub field
Now want the record of header record & batch record only once
& rest of the fields can be generated multiple time;

But output file conatin all the multiple occurences (equal to number of employee record) of Header & Batch record.
Please let me know how we can achieve this.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Thu Feb 23, 2012 6:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

This could be done in a FOR ... NEXT loop. Or also in a WHILE statement. The answer is also found in the Infocentre which is searchable by Google, complete with source code examples.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Feb 23, 2012 6:54 am    Post subject: Re: Message Set issue Reply with quote

Grand High Poobah

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

amitk22784 wrote:
But output file conatin all the multiple occurences (equal to number of employee record) of Header & Batch record.
Please let me know how we can achieve this.


By modelling this correctly in the message set & writing code to evaluate the data.

Your question is very much "how do I do this task" and can't really be answered within the scope of this forum.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Message Set issue
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.