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 » To Eliminate the count variable in Message where the output

Post new topic  Reply to topic
 To Eliminate the count variable in Message where the output « View previous topic :: View next topic » 
Author Message
parthiba_s
PostPosted: Mon Dec 02, 2002 9:58 pm    Post subject: To Eliminate the count variable in Message where the output Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
kirani
PostPosted: Mon Dec 02, 2002 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
kwelch
PostPosted: Tue Dec 03, 2002 11:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » To Eliminate the count variable in Message where the output
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.