|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Defining repeating compound element types |
« View previous topic :: View next topic » |
Author |
Message
|
Deepika |
Posted: Thu Jul 11, 2002 6:06 am Post subject: Defining repeating compound element types |
|
|
Novice
Joined: 03 Jul 2002 Posts: 14
|
I am trying to use a MRM defined message. The physical format I am using is CWF. The message has a compound type element. Now , this compound element can repeat 0 to 10 times.
I have set the repeat to "Yes" and set the number of occurences. But in the compute node ESQL, when I drag an element from the output message , I don't get the index dailogue. Also if I put the index manually, the output message fails..
Any inputs on how to do this..if any one has sample code it will be great |
|
Back to top |
|
 |
kirani |
Posted: Thu Jul 11, 2002 9:26 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
You should create an element of this compound type and use that within your message. For this Element (of Repeat Compunt Type), under Connection tab, set Repeat to Yes, and Under CWF tab, set Repeat Count Type to Count and Repeat Count to 10.
While doing mapping in a compute node, you should use index for repeating compound element, e.g.
SET OutputRoot.MRM.RptCompoundElement[1].Name = ....;
...
SET OutputRoot.MRM.RptCompoundElement[10].Name = ....; _________________ 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 |
|
 |
kwelch |
Posted: Fri Jul 12, 2002 11:14 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
What do you mean when you drag the element you don't get the index dialog?
Karen |
|
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
|
|
|
|