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 » Repeating Compound Types CWF

Post new topic  Reply to topic
 Repeating Compound Types CWF « View previous topic :: View next topic » 
Author Message
KT
PostPosted: Thu Oct 09, 2003 2:28 pm    Post subject: Repeating Compound Types CWF Reply with quote

Newbie

Joined: 09 Oct 2003
Posts: 7

We will be receiving repeating segments. We will not know the number of times the segments will repeat. Is there a way to override the repeat count WMQI is expecting? Currently the message will not parse without a value explicitly set in repeat count or a variable (containing the repeat value) preceding the repeating segment. Any ideas?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 10, 2003 6:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The CWF parser can not handle an unknown number of repeats.

You will have to use TDS instead.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Tibor
PostPosted: Sun Oct 12, 2003 4:18 pm    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

An ugly way in CWF:

- insert a repeat counter in MRM in a desired format
- parse your message as BLOB
- calculate the repeat counter and convert it to a defined format (string, integer, etc)
- concatenate with the original message
- re-parse with an RCD node

We used this method for simplified IDOC parsing and worked - just I don't like.

Tibor
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 » Repeating Compound Types CWF
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.