Author |
Message
|
bin_moh |
Posted: Tue Jun 14, 2011 3:16 am Post subject: CCSID change |
|
|
Newbie
Joined: 10 Mar 2011 Posts: 8
|
I'm able to get a msg to an AIX server with CCSID 819; when a linux client tries to pick the msg it gives a MQRC_FORMAT_ERROR; where LINUX CCSID should be 1208 according to the manual.
Do I need to change the CCSID for the AIX server to 1208 for the linux client to be able to pick the msg? if changed does the Aix server able to recieve the msgs? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 14, 2011 4:19 am Post subject: Re: CCSID change |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
bin_moh wrote: |
Do I need to change the CCSID for the AIX server to 1208 for the linux client to be able to pick the msg? |
Could be bad news for other applications running on the server!
The CCSID of a message should always describe the data. So if it's written in 819 it should say 819.
I'd check first what the Format field of the MQMD in this message says & that it's the correct value for the message to be converted. If that's correct, I'd ask the sys admin to confirm the 819 -> 1208 is properly installed (which it should be, it's fairly standard).
All this assumes of course that the message is convertable between 819 & 1208. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
skoobee |
Posted: Tue Jun 14, 2011 5:42 am Post subject: |
|
|
Acolyte
Joined: 26 Nov 2010 Posts: 52
|
MQRC_FORMAT_ERROR means that an attempt has been made to convert a msg with a blank format. It works on AIX because the source and dest CCSIDs are the same. |
|
Back to top |
|
 |
mvic |
Posted: Tue Jun 14, 2011 2:33 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
skoobee wrote: |
MQRC_FORMAT_ERROR means that an attempt has been made to convert a msg with a blank format. |
... or perhaps a MD.Format that is not recognised as an MQ built in format, and does not have a data conversion exit installed locally.
Do you have any error messages that mention conversion errors? |
|
Back to top |
|
 |
bin_moh |
Posted: Thu Jun 16, 2011 2:46 am Post subject: |
|
|
Newbie
Joined: 10 Mar 2011 Posts: 8
|
No errors are found in the logs |
|
Back to top |
|
 |
zpat |
Posted: Thu Jun 16, 2011 2:51 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
MQI errors don't generally get written to the MQ log, since they are expected return codes in certain situations.
Try setting the MQMD.Fomat = MQFMT_STRING or 'MQSTR ' |
|
Back to top |
|
 |
|