|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Variable Repeating MRM field without Count field |
« View previous topic :: View next topic » |
Author |
Message
|
bradhakrishna |
Posted: Sat Nov 09, 2002 7:18 am Post subject: Variable Repeating MRM field without Count field |
|
|
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 |
|
 |
kirani |
Posted: Sat Nov 09, 2002 11:24 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
|
Back to top |
|
 |
bradhakrishna |
Posted: Sun Nov 10, 2002 2:00 am Post subject: |
|
|
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 |
|
 |
kirani |
Posted: Sun Nov 10, 2002 11:14 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|