|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Parsing multiple fixed length records in one MQ Message |
« View previous topic :: View next topic » |
Author |
Message
|
Robert |
Posted: Sat Mar 13, 2004 10:19 am Post subject: Parsing multiple fixed length records in one MQ Message |
|
|
Apprentice
Joined: 22 Aug 2002 Posts: 46 Location: Quebec, Canada
|
Hi,
I am able to parse multiple tag delimited records in one MQSeries message (Thanks Jeff Lowrey for your pointers).' '
Now I have to parse multiple fixed length records from a single MQSeries message.' '
I end up with the infamous "MRM parsing error. Message bit stream larger than expected." message in the Windows Event Log.
The records I have to parse look like this:
Field1Field2Field3<LF>
Field1Field2Field3<LF>
Field1Field2Field3<LF>
If I add a Trace Node just after my MQInput Node, I can see that I'm able to parse a single fixed length record.
If I try to parse more than one record record, I get the above mentioned infamous message.
Here is how I tried to model the MRM message:
- Created a Message Set project with CWF.
- Created global elements: Field1, Field2, Field3
- Created Type Fixed1 with the following:
- Element reference to Field1, Field2, Field3
- Create a global element named elemFixed of type Fixed1
- Created a type Fixed2 containing elemFixed. Set the MaxOccurs to -1. Modified the repeat count with various non convincing results.
- Created a message msgFixed of type Fixed2.
Is CWF the right MRM parser for this task or is TDS (Fixed) better suited for this task?
If CWF is the right approach, can anybody give me clues on how to solve this problem?
Thanks
Robert |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Mar 14, 2004 4:35 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
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
|
|
|
|