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 » How to change the root as needed instead of MRM

Post new topic  Reply to topic
 How to change the root as needed instead of MRM « View previous topic :: View next topic » 
Author Message
Aarkay
PostPosted: Wed Apr 16, 2003 6:54 am    Post subject: How to change the root as needed instead of MRM Reply with quote

Newbie

Joined: 15 Apr 2003
Posts: 6

I created a message set, imported a cobol copy book . In the compute node, in the outputs i added message set and the message created using cobol copy book. in the structure i see the root as MRM, i want the desired name instead of MRM, is there anyway that i can change the name
Usually the structure looks like this
OUTPUTROOT
MRM
FIELD1
FIELD2
FIELD3
so on and so forth...
But i want the structure to be lke this(Instaed of mrm i want it as aarkay)
OUTPUTROOT
AARKAY
FIELD1
FIELD2
FIELD3
so on and so forth...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 16, 2003 6:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What are you trying to accomplish with this? Do you believe that your output data will contain the value 'MRM' anywhere because of it? It won't.

That 'MRM' you are seeing is the name of the parser you are using. If you were using the XML parser, you would see OutputRoot.XML instead of OutputRoot.MRM.

If you really want to change OutputRoot.MRM to OutputRoot.Aarkey, you will need to write your own parser named Aarkey.

Are you trying to add an element at the front of your document? That's something else, and very easy to do.
Code:
Set OutputRoot.MRM.Aarkay = InputRoot.MRM;
Back to top
View user's profile Send private message
Aarkay
PostPosted: Wed Apr 16, 2003 7:10 am    Post subject: Reply with quote

Newbie

Joined: 15 Apr 2003
Posts: 6

Jeff , actually i want to add IIH header , for that i imported a cobol copy book. In the code it should be like the code below to identify as IIH header right.
Outputroot.MQIIH.Strucid
but itz like
OutputRoot.MRM.Strucid
Does it works in either ways...
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 16, 2003 7:17 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The MQIIH header will be at OutputRoot.MQIIH or something like that, it will not be under MRM. It will be a sibling of OutputRoot.MQMD or OutputRoot.MRM.

You should review the documentation, particularly the Working With Messages guide, for a better understanding of what the complete message tree looks like.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to change the root as needed instead of MRM
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.