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 » MQRFH2 header

Post new topic  Reply to topic
 MQRFH2 header « View previous topic :: View next topic » 
Author Message
flahunter
PostPosted: Mon May 09, 2011 7:15 am    Post subject: MQRFH2 header Reply with quote

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
View user's profile Send private message
flahunter
PostPosted: Mon May 09, 2011 10:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue May 10, 2011 1:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
vmcgloin
PostPosted: Tue May 10, 2011 3:18 am    Post subject: Reply with quote

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
View user's profile Send private message
flahunter
PostPosted: Tue May 10, 2011 6:52 pm    Post subject: Reply with quote

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
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 » MQRFH2 header
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.