|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to change the root as needed instead of MRM |
« View previous topic :: View next topic » |
Author |
Message
|
Aarkay |
Posted: Wed Apr 16, 2003 6:54 am Post subject: How to change the root as needed instead of MRM |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Apr 16, 2003 6:59 am Post subject: |
|
|
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 |
|
 |
Aarkay |
Posted: Wed Apr 16, 2003 7:10 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Wed Apr 16, 2003 7:17 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|