|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
To Eliminate the count variable in Message where the output |
« View previous topic :: View next topic » |
Author |
Message
|
parthiba_s |
Posted: Mon Dec 02, 2002 9:58 pm Post subject: To Eliminate the count variable in Message where the output |
|
|
Novice
Joined: 12 Sep 2002 Posts: 20
|
Hai
I have a to convert a XML message to a CWF message . I have created a message set from a cobal copy book.
The input message is a self defining XML that has few tags repeating, hence I have declared a count variable in the copybook and used this count to declare the number of times this tag repeats in the message.
But I do not require this count variable in the output message .
Is there any way to eliminate this count variable in the output message where the output is expected in CWF format ? Will assigning null to the count variable stop the count variable from appearing in the output message
Pls do reply if you have any other details , information or a different approach for this problem
Regards
S.Parthiban |
|
Back to top |
|
 |
kirani |
Posted: Mon Dec 02, 2002 10:14 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Well... by assigning NULL value to MRM Count element will delete the element from MRM logical tree, but then MRM-Writer will complain while writing out the message because the MRM message definition does not match with logical tree.
Currently i could think one way to solve this problem,
After creating MRM message with MRM Repeat Count, use RCD node to convert this message into BLOB format. In a compute node manipulate your BLOB bitstream to remove MRM counter element from your input BLOB message, and create new BLOB output message without the counter. Write this message on output queue. _________________ 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: Tue Dec 03, 2002 11:00 am Post subject: |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi Parthiba_S,
I have done this and I did it just as Kirani suggested and it worked fine.
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
|
|
|
|