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 » Help required regarding BLOB.BLOB

Post new topic  Reply to topic
 Help required regarding BLOB.BLOB « View previous topic :: View next topic » 
Author Message
Kateel
PostPosted: Wed Nov 29, 2006 12:58 pm    Post subject: Help required regarding BLOB.BLOB Reply with quote

Novice

Joined: 01 May 2006
Posts: 17

Guys,

I stumbled upon a piece of code which uses InputRoot.BLOB.BLOB. The input message comes in CWF format. And I analysed the message and trace and the above code is actually resolving to InputBody.BLOB.BLOB.
Could some one please explain how this is being resolved?(I would have thought the InputRoot.BLOB.BLOB would start traversing from Properties header)
Thanks
Back to top
View user's profile Send private message
Kateel
PostPosted: Wed Nov 29, 2006 1:15 pm    Post subject: Reply with quote

Novice

Joined: 01 May 2006
Posts: 17

never mind i got it. I was confused with the 2nd BLOB. anyway it was a rookie mistake

By the way, I have a Q regarding the CCSID stuffs. If I am working on ASCII character set, can i use any of the ASCII CCSID while casting InputRoot.BLOB.BLOB (ex : 437, 1208 etc)?

Also I have seen CCSID being set in almost every headers(Properties, MQMD, MQRFH2). So which one takes priority finally when it comes to Application data?
Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 29, 2006 1:59 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Use InputRoot.Properties.CodedCharSetId (or whatever the proper capitalization is).

When performing a CAST, the CCSID indicates what CCSID the data is in before the cast.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 30, 2006 2:56 pm    Post subject: Reply with quote

Grand High Poobah

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

jefflowrey wrote:
Use InputRoot.Properties.CodedCharSetId (or whatever the proper capitalization is).

When performing a CAST, the CCSID indicates what CCSID the data is in before the cast.


In case of the presence of additional headers use the CCSID of the header describing the message data.
Headers are typically chained, each describing the data following it.
So if you have MQMD->RFH2->Data the CCSID of the data part will be on the RFH2. Be carefull however not to confuse it with the CCSID of the property/value pairs of the RFH2.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Nov 30, 2006 3:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

In case of additional headers, I'm fairly positive InputRoot.Properties is set to the correct value for the InputBody.
_________________
I am *not* the model of the modern major general.
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 » Help required regarding BLOB.BLOB
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.