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 » IBM MQ Java / JMS » JMS support for CCSID 1145

Post new topic  Reply to topic
 JMS support for CCSID 1145 « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Wed Mar 29, 2006 12:10 am    Post subject: JMS support for CCSID 1145 Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We have a message with CCSID 1145 (Spanish) being processed by a JMS client program running on Windows platform (with UK regional settings) and the queue manager is a UK mainframe (v5.3.1)

We get the JMS error "MQJMS1046 The character set 1145 is not supported."

Is there any way to get JMS or the JVM to convert a message with a CCSID of 1145?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 29, 2006 3:49 am    Post subject: Reply with quote

Grand High Poobah

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

create a CCSID translation table (see the manuals) and add it to your receiving platform.

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Wed Mar 29, 2006 4:36 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

That would be a good answer, except that message data conversion from 1145 works fine for other applications using the same queue manager, eg mainframe apps or dotNet client adapters.

The error message text suggests that it is someone to do with the JVM :

MQJMS1046 The character set 1145 is not supported

Explanation: An attempt was made to send or receive a map message, stream message or text message whose body is encoded using a character set not supported by the JVM. In the case of text messages, this exception may be thrown when the body of the message is first queried, rather than at receive time.

User Response: Only set character encoding on a message to values known to be available to the receiving application.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Mar 29, 2006 5:48 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

I think it might be that we need the international or multi-lingual version of the JRE (JVM).
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Mar 29, 2006 3:00 pm    Post subject: Reply with quote

Grand High Poobah

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

zpat wrote:
I think it might be that we need the international or multi-lingual version of the JRE (JVM).

And there I thought you had already installed it...
Do you mean to tell us that the JVM does not support the CCSID of the qmgr?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Wed Mar 29, 2006 11:05 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

No, CCSID 285 works fine.
Back to top
View user's profile Send private message
briancop
PostPosted: Wed Mar 29, 2006 11:57 pm    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2005
Posts: 28
Location: Hursley, UK

which JRE are you using? With JMS (as with other apps), which conversions are possible is determined by the conversion tables provided in the JRE (or Java SDK).
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 30, 2006 12:39 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

JRE SE 1.3.1_07 (US version)
Back to top
View user's profile Send private message
briancop
PostPosted: Thu Mar 30, 2006 12:51 am    Post subject: Reply with quote

Apprentice

Joined: 04 Apr 2005
Posts: 28
Location: Hursley, UK

zpat wrote:
I think it might be that we need the international or multi-lingual version of the JRE (JVM).


Looks like you're right then
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 » IBM MQ Java / JMS » JMS support for CCSID 1145
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.