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 » WMB6.1 MQHeader vs RFHUTIL property

Post new topic  Reply to topic
 WMB6.1 MQHeader vs RFHUTIL property « View previous topic :: View next topic » 
Author Message
Gama
PostPosted: Wed Aug 18, 2010 7:52 am    Post subject: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hi,

I need to change the on ESQL code the MQMD Int. Fmt. to "UNIX", because my destination application only allow that property.

Quote:
( ['MQROOT' : 0x96a5bf8]
(0x01000000:Name):Properties = ( ['MQPROPERTYPARSER' : 0x9b11860]
(0x03000000:NameValue):MessageSet = 'DIC-295' (CHARACTER)
(0x03000000:NameValue):MessageType = 'ALL' (CHARACTER)
(0x03000000:NameValue):MessageFormat = 'BLOB' (CHARACTER)
(0x03000000:NameValue):Encoding = 1252 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1252 (INTEGER)
(0x03000000:NameValue):Transactional = TRUE (BOOLEAN)
(0x03000000:NameValue):Persistence = FALSE (BOOLEAN)
(0x03000000:NameValue):CreationTime = GMTTIMESTAMP '2010-08-18 14:40:22.070' (GMTTIMESTAMP)
(0x03000000:NameValue):ExpirationTime = -1 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):ReplyIdentifier = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):ReplyProtocol = 'MQ' (CHARACTER)
(0x03000000:NameValue):Topic = NULL
(0x03000000:NameValue):ContentType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceType = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceToken = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourcePassword = '' (CHARACTER)
(0x03000000:NameValue):IdentitySourceIssuedBy = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedType = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedToken = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedPassword = '' (CHARACTER)
(0x03000000:NameValue):IdentityMappedIssuedBy = '' (CHARACTER)
)
(0x01000000:Name):MQMD = ( ['MQHMD' : 0x838b5e8]
(0x03000000:NameValue):SourceQueue = 'FileInput_XMLFile_IN' (CHARACTER)
(0x03000000:NameValue):Transactional = TRUE (BOOLEAN)
(0x03000000:NameValue):Encoding = 546 (INTEGER)
(0x03000000:NameValue):CodedCharSetId = 1252 (INTEGER)
(0x03000000:NameValue):Version = 2 (INTEGER)
(0x03000000:NameValue):Report = 0 (INTEGER)
(0x03000000:NameValue):MsgType = 8 (INTEGER)
(0x03000000:NameValue):Expiry = -1 (INTEGER)
(0x03000000:NameValue):Feedback = 0 (INTEGER)
(0x03000000:NameValue):Priority = 0 (INTEGER)
(0x03000000:NameValue):Persistence = 0 (INTEGER)
(0x03000000:NameValue):MsgId = X'414d51204d515349514d36314541493058d65b4c20bde907' (BLOB)
(0x03000000:NameValue):CorrelId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):BackoutCount = 0 (INTEGER)
(0x03000000:NameValue):ReplyToQ = ' ' (CHARACTER)
(0x03000000:NameValue):ReplyToQMgr = 'MQSIQM61EAI0101 ' (CHARACTER)
(0x03000000:NameValue):UserIdentifier = 'SYSTEM ' (CHARACTER)
(0x03000000:NameValue):AccountingToken = X'060101120000000000000000000000000000000000000000000000000000000b' (BLOB)
(0x03000000:NameValue):ApplIdentityData = ' ' (CHARACTER)
(0x03000000:NameValue):PutApplType = 11 (INTEGER)
(0x03000000:NameValue):PutApplName = 'I\6.1\bin\DataFlowEngine.exe' (CHARACTER)
(0x03000000:NameValue):PutDate = DATE '2010-08-18' (DATE)
(0x03000000:NameValue):PutTime = GMTTIME '14:40:22.070' (GMTTIME)
(0x03000000:NameValue):ApplOriginData = ' ' (CHARACTER)
(0x03000000:NameValue):GroupId = X'000000000000000000000000000000000000000000000000' (BLOB)
(0x03000000:NameValue):MsgSeqNumber = 1 (INTEGER)
(0x03000000:NameValue):Offset = 0 (INTEGER)
(0x03000000:NameValue):MsgFlags = 0 (INTEGER)
(0x03000000:NameValue):OriginalLength = -1 (INTEGER)
(0x03000000:NameValue):Format = 'MQHRF2' (CHARACTER)
)
(0x01000000:Name):MQRFH2 = ( ['MQHRF2' : 0x971deb8]
(0x03000000:NameValue):Version = 2 (INTEGER)
(0x03000000:NameValue):Format = 'MQSTR' (CHARACTER)
(0x03000000:NameValue):NameValueCCSID = 1252 (INTEGER)
(0x03000000:NameValue):Encoding = 1252 (INTEGER)
(0x01000000:Name ):mcd = (
(0x01000000:Name):Msd = (
(0x02000000:Value): = 'none' (CHARACTER)
)
(0x01000000:Name):Set = (
(0x02000000:Value): = 'DIC-295' (CHARACTER)
)
(0x01000000:Name):Type = (
(0x02000000:Value): = 'ALL' (CHARACTER)
)


If I change that on RFHUTIL on tab "MQMD" Int Fmg to "UNIX" and on tab "RFH" Encoding Integer "UNIX", after do a put on the queue it works perfectly, so I would like to know if any one can help-me find those properties on MQ message Header.

Many thanks


Last edited by Gama on Wed Aug 18, 2010 8:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 18, 2010 8:37 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gama wrote:
I would like to know if any one cal help-me find those properties on MQ message Header.


They're the Encoding properties on the MQMD & RFH2 (which map to the 2 tags on RFHUtil obviously).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gama
PostPosted: Wed Aug 18, 2010 8:49 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Vitor wrote:
They're the Encoding properties on the MQMD & RFH2 (which map to the 2 tags on RFHUtil obviously).


Hi Vitor,

Are these?

Quote:
SET OutputRoot.MQMD.Encoding = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = 1208;


Could you be more specific?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 18, 2010 9:10 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gama wrote:
Could you be more specific?


No, it's exactly those values. Specifically. They control the encoding and are what the controls you mention on RFHUtil are setting.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Gama
PostPosted: Wed Aug 18, 2010 9:24 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Vitor wrote:
No, it's exactly those values. Specifically. They control the encoding and are what the controls you mention on RFHUtil are setting.


An image is easier to understand witch properties I need to change/force.
Could you please check the link at low?
http://img525.imageshack.us/img525/6556/rfhutilsample.png

Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 18, 2010 10:05 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Gama wrote:
An image is easier to understand witch properties I need to change/force.


A picture's worth 1000 words. And all the words reinforce what I'm saying.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 18, 2010 10:37 am    Post subject: Re: WMB6.1 MQHeader vs RFHUTIL property Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Gama wrote:
Vitor wrote:
They're the Encoding properties on the MQMD & RFH2 (which map to the 2 tags on RFHUtil obviously).


Hi Vitor,

Are these?

Quote:
SET OutputRoot.MQMD.Encoding = 1208;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = 1208;


Could you be more specific?

Obviously you are very confused between xml-encoding and MQ-Encoding.
In MQ Encoding describes whether the binary numeric data is represented in little endian or big endian...
The equivalent of xml-encoding is mapped to MQ-CodedCharSetId (CCSID).

I doubt that 1208 is a valid encoding value... in any case I would suggest that you use the constants provided...

Have fun
_________________
MQ & Broker admin
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 » WMB6.1 MQHeader vs RFHUTIL property
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.