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 » Problem regarding the CODE SET

Post new topic  Reply to topic
 Problem regarding the CODE SET « View previous topic :: View next topic » 
Author Message
babu_ms
PostPosted: Wed Oct 11, 2006 7:34 am    Post subject: Problem regarding the CODE SET Reply with quote

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
View user's profile Send private message
kevinf2349
PostPosted: Wed Oct 11, 2006 7:55 am    Post subject: Reply with quote

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
View user's profile Send private message
babu_ms
PostPosted: Wed Oct 11, 2006 8:11 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2006
Posts: 12

I am trying this on Z/OS
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 11, 2006 4:10 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem regarding the CODE SET
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.