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 » Variable Repeating MRM field without Count field

Post new topic  Reply to topic
 Variable Repeating MRM field without Count field « View previous topic :: View next topic » 
Author Message
bradhakrishna
PostPosted: Sat Nov 09, 2002 7:18 am    Post subject: Variable Repeating MRM field without Count field Reply with quote

Novice

Joined: 27 Aug 2002
Posts: 10

I receive a message that has a part that repeats variable number of times. This can be from 0 to any number. Can I use Min occurs and Max Occurs fields of the connection Tab when defining the message set types?

How to process the message without having record count being sent by the sending program?

Radha
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sat Nov 09, 2002 11:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Have a look at this thread,
http://www.mqseries.net/phpBB2/viewtopic.php?t=6120&highlight=repeat
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
bradhakrishna
PostPosted: Sun Nov 10, 2002 2:00 am    Post subject: Reply with quote

Novice

Joined: 27 Aug 2002
Posts: 10

Kiran,
I have gone thru the message. My requirement is slightly different:

I have an XML message as input, whose structure is like say:

<InventoryMessage>
<Header SystemCode="XYZ" HashPointerNumber="0000" HashLength="00" />

<OnHandQuantity UploadDate="String" UploadTime="String" TotalSaleableQuantity="String" TransactionDate="String"/>

<OnHoldQuantity UploadDate="String" UploadTime="String" TotalOnHoldQuantity="String" TransactionDate="String"/>

<StagedQuantity UploadDate="String" UploadTime="String" TotalStagedQuantity="String" TransactionDate="String"/>

<Footer SystemCode="XYZ" SystemDate="String" SystemTime="String" />

</InventoryMessage>

Here OnHandQuantity, OnHoldQuantity, StagedQuantity compound types are repeating undefined number of times. And also any of them might not present in the message. So, typically it is: occurs from 0 times to any number of times.

Can you please tell me how to define OnHandQuantity, OnHoldQuantity, StagedQuantity in MRM?

Radha
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Sun Nov 10, 2002 11:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

In this case you can make use of Min Occurs and Max Occurs properties in Connection tab. Set Min value to 0 and max value to some higher number. I'd recommend that you import XML schema into MRM using SupportPac ID04, which will set these properties for you.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Variable Repeating MRM field without Count field
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.