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 » Modelling for unordered optional elements

Post new topic  Reply to topic
 Modelling for unordered optional elements « View previous topic :: View next topic » 
Author Message
gs
PostPosted: Wed Jan 20, 2010 9:03 am    Post subject: Modelling for unordered optional elements Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

I'm modelling a messageset for fixed length TDS files where the 2 first bytes contains the tag.
There's always a message header (00) and a message footer (99) and in between an undefined amount of optional tagged rows (01,02,03 etc).

Example:
Code:
00<data>
01<data>
02<data>
03<data>
01<data>
01<data>
02<data>
03<data>
05<data>
99<data>


Judging from the docs, it seems I should put all the optional elements in a unorderedSet group and the header & footer outside it.
However, I've successfully done this in WMB 6.1 but in WMB 6.0 (customer requirement) I'll get "ImbRecoverableException caught from worker-parseNext" and the footer (99) isn't parsed (verified in debugger & trace).

Am I missing some detail or just doing it wrong?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 20, 2010 9:30 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

use a repeating choice, not an unordered set.
Back to top
View user's profile Send private message
gs
PostPosted: Fri Jan 22, 2010 7:27 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

mqjeff wrote:
use a repeating choice, not an unordered set.


Thanks, worked as a charm!
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 » Modelling for unordered optional elements
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.