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 fields MRM

Post new topic  Reply to topic
 Repeating fields MRM « View previous topic :: View next topic » 
Author Message
ckanair
PostPosted: Mon Oct 13, 2003 8:11 pm    Post subject: Repeating fields MRM Reply with quote

Newbie

Joined: 13 Oct 2003
Posts: 2
Location: Bangalore

Hi,
I have a COBOL copybook that has repeating fields which I want to parse using an MRM layout. The repeating fields can have a minimum of 1 instance and maximum of 10 - there is no "DEPENDING ON" type variable. I would expect that WMQI 2.1 's Min Occurs and Max Occurs should allow me to parse a message with 1 occurence of the repeating structure till 10 occurences - but that does not seem to be the case. My MRM is always expecting 10 occurences, else it fails.
Any help would be really appreciated.
_________________
Anu Nair
IBM MQSeries Specialist
IBM WMQI Specialist
Back to top
View user's profile Send private message
JLRowe
PostPosted: Tue Oct 14, 2003 12:58 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

You can't do it without a 'DEPENDING ON' variable, as CWF needs to know how many occurences there are.

The only exception is if the repeating field is the last one in the message, in which case CWF keeps reading until the end of the message.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Oct 14, 2003 4:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jlrowe wrote:
You can't do it without a 'DEPENDING ON' variable, as CWF needs to know how many occurences there are.


Unless you use TDS instead of CWF.

Then you can do variable unknown repeats, as long as your message has something that can be a delimiter.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ckanair
PostPosted: Tue Oct 14, 2003 5:57 am    Post subject: Repeating MRM Fields Reply with quote

Newbie

Joined: 13 Oct 2003
Posts: 2
Location: Bangalore

Thanks for the responses.
_________________
Anu Nair
IBM MQSeries Specialist
IBM WMQI Specialist
Back to top
View user's profile Send private message
rahdilarum
PostPosted: Tue Oct 14, 2003 7:24 am    Post subject: Missing Array Elements in Output Message Reply with quote

Novice

Joined: 02 Mar 2002
Posts: 15
Location: Winston-Salem, NC

Make Sure that on CWF tab of the Array-Name, "repeat count" is specified.


Murali Behara
336-519-8508

[/img]
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger 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 » Repeating fields MRM
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.