Author |
Message
|
sushilsingh27 |
Posted: Fri Jun 29, 2007 1:14 am Post subject: MQRC_NOT_CONVERTED |
|
|
Novice
Joined: 05 Nov 2006 Posts: 13
|
HI,
Pls guide me , I am getting a reason code "MQRC_NOT_CONVERTED" and completion code "MQCC_WARNING" even I have enabled the conversion on channel using CONVERT(YES) and getting message using "MQGMO_CONVERT" .
Thanks in Advance, |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Fri Jun 29, 2007 1:32 am Post subject: Re: MQRC_NOT_CONVERTED |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Jun 29, 2007 1:33 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
i assume you checked the messages and codes manual for the returncode. it reads:
Quote: |
Programmer Response: Check that the message data is correctly described by the Format, CodedCharSetId and Encoding parameters that were specified when the message was put. Also check that these values, and the CodedCharSetId and Encoding specified in the MsgDesc parameter on the MQGET call, are supported for queue-manager conversion. If the required conversion is not supported, conversion must be carried out by the application. |
i also assume you did the proper investigation. now please tell us about the things you found out about the CodedCharSetId and Encoding _________________ Regards, Butcher |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 29, 2007 3:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So you have told the channel to convert the data before it comes to your program.
And then you have told your program to convert the data too. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
zpat |
Posted: Fri Jun 29, 2007 3:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
It does no harm to specify MQGMO_CONVERT - if no conversion is required then nothing is done.
The program should be agnostic as to the origins of its messages.
Convert on the channel should be avoided though. |
|
Back to top |
|
 |
jsware |
Posted: Fri Jun 29, 2007 4:27 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
zpat wrote: |
It does no harm to specify MQGMO_CONVERT - if no conversion is required then nothing is done. |
Thou shalt use MQGET with MQGMO_CONVERT would get my vote for on of the Ten Commandments of MQ _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 29, 2007 4:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's been my experience that specifying MQGMO_CONVERT on messages that have already been converted by the channel... will cause exactly the symptoms listed. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 29, 2007 11:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
It's been my experience that specifying MQGMO_CONVERT on messages that have already been converted by the channel... will cause exactly the symptoms listed. |
And going one step further why are you (sushilsingh27) treating this as an error when the completion code specifies it is a warning??
This is a case of the program telling you everything working as designed....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
tleichen |
Posted: Fri Jul 06, 2007 5:52 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
Normally, it is not necessary to specify conversion on the channel, depending on what platfoms and codesets are involved.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 06, 2007 5:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tleichen wrote: |
Normally, it is not necessary to specify conversion on the channel, depending on what platfoms and codesets are involved.  |
Normally, in fact, it's poor design to specify conversion on the channel.
There are cases where it's required. Special cases - usually involving mainframe bridge software. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|