Author |
Message
|
yhuang |
Posted: Wed Feb 11, 2009 1:38 pm Post subject: How to build message sets with variable occurance data items |
|
|
Newbie
Joined: 03 Feb 2009 Posts: 5
|
I am working on a projecgt with WMB 6.0. The input messages have variable occurance data items. How can build input/output message sets for that? The layout for input and output messages are little bit different at the end. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 11, 2009 1:54 pm Post subject: Re: How to build message sets with variable occurance data i |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
yhuang wrote: |
How can build input/output message sets for that? |
Use either the variable record count, delimiters or whatever controls the variable part to build the message set. As described in the documentation. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
chids |
Posted: Wed Feb 11, 2009 2:48 pm Post subject: Re: How to build message sets with variable occurance data i |
|
|
 Novice
Joined: 09 Oct 2006 Posts: 22 Location: Stockholm, Sweden
|
yhuang wrote: |
I am working on a projecgt with WMB 6.0. The input messages have variable occurance data items. How can build input/output message sets for that? The layout for input and output messages are little bit different at the end. |
I'm working on finalizing a short tutorial on how to model a format that I've chosen to describe as "Repeating structure with variable number of key-value pairs". I'm hoping to have it ready early next week but until then I could provide you with the project interchange file for my sample project. However the project is developed for v6.1 which might give you trouble importing it. Drop me an email (address in profile) and I'll reply with the file. _________________ /mårten.
-- http://marten.gustafson.pp.se/
-- marten.gustafson@gmail.com |
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 11, 2009 3:12 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
I am working on a projecgt with WMB 6.0. The input messages have variable occurance data items. How can build input/output message sets for that? The layout for input and output messages are little bit different at the end. |
There is more than one answer to that question. Before anybody can help, you must provide two fundamental pieces of information
- What do your messages look like? Examples please
- What do you want the message tree to look like after the parser has finished? |
|
Back to top |
|
 |
MQEnthu |
Posted: Wed Feb 11, 2009 9:44 pm Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Are the fields delimited? What is the delimiter? A sample message would help to answer your question... _________________ -----------------------------------------------
It is good to remember the past,
but don't let past capture your future |
|
Back to top |
|
 |
yhuang |
Posted: Wed Feb 18, 2009 7:05 am Post subject: Thanks for the help! |
|
|
Newbie
Joined: 03 Feb 2009 Posts: 5
|
The requirement has been changed so that we don't use variable occurance data any more. BTW, thanks very much for the message. |
|
Back to top |
|
 |
|