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 » General IBM MQ Support » #char for QMGR name

Post new topic  Reply to topic Goto page Previous  1, 2
 #char for QMGR name « View previous topic :: View next topic » 
Author Message
mvic
PostPosted: Tue Dec 22, 2009 5:05 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

bruce2359 wrote:
My point is that MQBYTE, while the same size (8-bits) as an MQCHAR, is not treated the same by WMQ. So, technically, operationally, annoyingly, a byte is not == a character.

Yes, it's important to get this correct when you're talking about fields that MQ will (or might) try to convert for you if you originate them claiming they are in one CCSID and the queue manager believes it has a duty to make them consumable by code running under another CCSID.

But (sorry for the pedantry..) in the specification for the inputs to crtmqm that you quoted from the manual, 48 characters means 48 single-byte characters. If you try to supply the queue manager name as 48 double-byte characters, there will be problems..
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 22, 2009 5:20 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9482
Location: US: west coast, almost. Otherwise, enroute.

...or if you expect MQCHAR fields (like the queue manager name) to be treated as MQBYTEn, you will be sadly disappointed.

From the APR, the XQH (transmission queue header) description contains the RemoteQName (MQCHAR48).

Recall that WMQ will convert MQCHAR fields its structures (MQMD, XQH, others) based on CCSIDs of the two channel ends. It does NOT convert MQBYTE fields, like MsgId.

The term "pedantic" has a negative connotation. I prefer "precise," whether pedantic or not.

[edited]
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » #char for QMGR name
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.