|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem regarding the CODE SET |
« View previous topic :: View next topic » |
Author |
Message
|
babu_ms |
Posted: Wed Oct 11, 2006 7:34 am Post subject: Problem regarding the CODE SET |
|
|
Novice
Joined: 09 Aug 2006 Posts: 12
|
Hi Everyone,
I am new to MQ.I have one problem regarding the CODE SET.
The format of the data is codepage 819. The destination application cannot read this format. The format destination app needs is codepage 37. Based on some tests we have concluded that the queue has been defined with codepage 819. Can this be change to codepage 37?
If I am wrong where can we change the Codeset.
someone else tried changing the CodedCharSetId, but MQGET kept changing it back to 819, but we did not know about MQGMO_CONVERT or Encoding.
Can anyone give their valuable inputs on this?
Early response is always appreciated.
Regards
Babu |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Oct 11, 2006 7:55 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
we have concluded that the queue has been defined with codepage 819. |
Then you have concluded incorrectly. Queues don't have codepages defined. (unless something has changed recently that I haven't heard about). Queue managers do have codepage, is this what you meant?
What platforms are you trying to do this on?
What do you mean by this...
Quote: |
but we did not know about MQGMO_CONVERT or Encoding. |
|
|
Back to top |
|
 |
babu_ms |
Posted: Wed Oct 11, 2006 8:11 am Post subject: |
|
|
Novice
Joined: 09 Aug 2006 Posts: 12
|
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 11, 2006 4:10 pm Post subject: |
|
|
Guest
|
CCSID (Coded Character Set ID) is a qmgr attribute. It is used by the receiving qmgr to convert (if necessary) inbound Message Descriptors (and other MQ headers) from the sender qmgrs CCSID to the receiver qmgrs CCSID.
CCSID is also used by the qmgr to convert the application data component of a message before it is transmitted over a network to another qmgr if the sender channel attribute CONVERT(YES) is specified AND the CCSIDs of sender and receiver are not the same. (If CCSIDS are the same, no conversion is needed).
CCSID is also used by the receiving qmgr when an application program MQGETs with MQGMO_CONVERT a message from a queue AND the CCSIDs of sending and receiving qmgr are not the same.
The qmgr will by default insert its CCSID into the MD (message descriptor) of each message before it is MQPUT to a queue.
One of the two methods above, namely: CONVERT(YES) on sender channel, or MQGET with MQGMO_CONVERT must be specified for the qmgr to convert your application data. |
|
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
|
|
|
|