Posted: Thu Feb 23, 2012 6:43 am Post subject: Message Set issue
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.
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
Posted: Thu Feb 23, 2012 6:54 am Post subject: Re: Message Set issue
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.
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