|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQRFH2 header |
« View previous topic :: View next topic » |
Author |
Message
|
flahunter |
Posted: Mon May 09, 2011 7:15 am Post subject: MQRFH2 header |
|
|
 Acolyte
Joined: 30 Oct 2008 Posts: 62
|
Could anyone let me know what's the difference between MQRFH2 header structure and MQRFH2 NameValue buffer. When giving the value, the result is different.
-- header header
SET OutputRoot.MQRFH2.(MQRFH2.Field)Filename = 'Test1';
-- NameValue buffer
SET OutputRoot.MQRFH2.Filename = 'Test1';
Trace
-- header header
(0x03000000:NameValue):Filename = 'Test1' (CHARACTER)
-- NameValue buffer
(0x01000000: Name ):Filename = (
(0x02000000:Value): = 'Test1';
)
Could anyone point out when to use header structure or NameValue buffer.
Last edited by flahunter on Tue May 10, 2011 6:49 pm; edited 1 time in total |
|
Back to top |
|
 |
flahunter |
Posted: Mon May 09, 2011 10:28 pm Post subject: |
|
|
 Acolyte
Joined: 30 Oct 2008 Posts: 62
|
Sorry, is there anyone who can answer my question? I'm looking into the official documentation for MB and MQ, but got little idea. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 10, 2011 1:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
If you look at the hex codes preceding the values and representing the types you'll notice that you are in presence of 3 different types.
You'd need to investigate more but my guess is that one represents an element and its value, whereas the other represents an attribute with name=value.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
vmcgloin |
Posted: Tue May 10, 2011 3:18 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Regardless of how and why - are you sure you are setting the right thing?
Assuming Filename is not a field in the RFH2 structure (and I have not checked) I would have though that you would use the usr folder (or perhaps something else if you are using MBv7 & MQv7).
SET OutputRoot.MQRFH2.usr.Filename = 'Test1';
Also, I guess you have read this already - maybe someone can explain that more clearly if you want more information - but I would say that "guess" in the reply you already got is right.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ac16910_.htm |
|
Back to top |
|
 |
flahunter |
Posted: Tue May 10, 2011 6:52 pm Post subject: |
|
|
 Acolyte
Joined: 30 Oct 2008 Posts: 62
|
Thank you for your reply. Yes, it's tricky and less info is provided in the Online document, but I will do more investing on this with some experiments. |
|
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
|
|
|
|