Author |
Message
|
zpat |
Posted: Wed Mar 29, 2006 12:10 am Post subject: JMS support for CCSID 1145 |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed Mar 29, 2006 3:49 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Wed Mar 29, 2006 4:36 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Wed Mar 29, 2006 5:48 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed Mar 29, 2006 3:00 pm Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Wed Mar 29, 2006 11:05 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
No, CCSID 285 works fine. |
|
Back to top |
|
 |
briancop |
Posted: Wed Mar 29, 2006 11:57 pm Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Thu Mar 30, 2006 12:39 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
JRE SE 1.3.1_07 (US version) |
|
Back to top |
|
 |
briancop |
Posted: Thu Mar 30, 2006 12:51 am Post subject: |
|
|
 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 |
|
 |
|