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 » Where can I change my CCSID on Z/OS

Post new topic  Reply to topic
 Where can I change my CCSID on Z/OS « View previous topic :: View next topic » 
Author Message
babu_ms
PostPosted: Wed Oct 11, 2006 8:47 am    Post subject: Where can I change my CCSID on Z/OS Reply with quote

Novice

Joined: 09 Aug 2006
Posts: 12

Hi,

Can anyone tell me where can I change the CCSID on Z/OS


Regards
Babu
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Oct 11, 2006 9:34 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Do you mean the queue manager's default CCSID?

Ask your System Programmer, but why do you want to change it?
Back to top
View user's profile Send private message
babu_ms
PostPosted: Wed Oct 11, 2006 9:48 am    Post subject: Reply with quote

Novice

Joined: 09 Aug 2006
Posts: 12

Hi,

Here is my Problem;

http://www.mqseries.net/phpBB2/viewtopic.php?t=32614

Thanks
Babu
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Oct 11, 2006 9:56 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

You, or rather a system programmer, can change the CCSID by specifying the QMCCSID value in CSQ6SYSP.

If you don't understand what I have just written then I suspect you shouldn't be doing it
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Oct 11, 2006 10:32 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

babu_ms wrote:
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

If memory serves, 819 is normally the codeset used by Unix and is ASCII. What is the source of this data? This sounds like data that originated on UNIX and has been sent to a z/OS queue. There is nothing wrong with your CCSID that is now set at 37, which is EBCDIC, US ENGLISH. That's what it should be. You need to use the normal conversion rules in MQSeries that you have mentioned above, i.e., MQGMO_CONVERT, etc.
A codeset of 37, or 500 makes sense on z/OS, but not 819.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Oct 11, 2006 11:19 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It certainly won't help make data readable!

Forgetting the QM default for the moment, you need to tell us what the MQMD.CCSID of the message is?

Also what program needs to read the message and which language and platform that program runs on (z/OS native or a MQ client platform - which one?)

Where did the message originate? We can complete the jigsaw but we need all the pieces!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 11, 2006 12:36 pm    Post subject: Reply with quote

Guest




The CCSID attribute of a QMGR does several things:
- tells the qmgr how to convert MQ headers of outbound messages (if necessary)
- tells the qmgr how to convert the application message data (if necessary) if CONVERT(YES) is specified on the sender channel AND the sending/receiving qmgrs have different CCSIDS
- tells the qmgr how to convert the application message data (if necessary) if the MQGETting application specifies MQGMO_CONVERT at MQGET time AND if the sending/receiving qmgrs have different CCSIDs.

The application program constructing the message (MD and application data) does this in the native coding scheme of the hardware platform (037 on z/OS US English). By default, the QMGR will fill in the MQMD_CCSID of the outbound message at MQPUT time.

The QMGR at the receiving end always converts MQ headers (MD, XQH, etc.) if necessary (it is in your scenario) based on the CCSID of receiving QMGR.

The MQGETting application is responsible for converting the application data in the message via MQGMO_CONVERT at MQGET time. Or, alternatively, the sysadmin at the sender end needs to specify CONVERT(YES) on the sender channel.

Changing the CCSIDs at either end is pervasive for all application messages.
Back to top
zpat
PostPosted: Sat Oct 14, 2006 3:45 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The QMGR CCSID is not used as the codepage to convert data on MQGET with MQGMO_CONVERT for client applications, the client platform CCSID is.

Otherwise JMS clients attached to z/OS would get messages in EBCDIC, and so on!
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 » General IBM MQ Support » Where can I change my CCSID on Z/OS
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.