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 » Parsing multiple fixed length records in one MQ Message

Post new topic  Reply to topic
 Parsing multiple fixed length records in one MQ Message « View previous topic :: View next topic » 
Author Message
Robert
PostPosted: Sat Mar 13, 2004 10:19 am    Post subject: Parsing multiple fixed length records in one MQ Message Reply with quote

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
View user's profile Send private message MSN Messenger
Michael Dag
PostPosted: Sun Mar 14, 2004 4:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

take a look at this: http://www.mqseries.net/phpBB2/viewtopic.php?t=14071
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing multiple fixed length records in one MQ Message
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.