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 Discussion » MQRC_NOT_CONVERTED

Post new topic  Reply to topic
 MQRC_NOT_CONVERTED « View previous topic :: View next topic » 
Author Message
sushilsingh27
PostPosted: Fri Jun 29, 2007 1:14 am    Post subject: MQRC_NOT_CONVERTED Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Fri Jun 29, 2007 1:32 am    Post subject: Re: MQRC_NOT_CONVERTED Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

What is OS and CCSID of sender and receiver app ?

Data Conversion under WebSphere MQ
http://www-1.ibm.com/support/docview.wss?uid=swg27005729
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Mr Butcher
PostPosted: Fri Jun 29, 2007 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jun 29, 2007 3:21 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Fri Jun 29, 2007 3:26 am    Post subject: Reply with quote

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
View user's profile Send private message
jsware
PostPosted: Fri Jun 29, 2007 4:27 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jun 29, 2007 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 29, 2007 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
tleichen
PostPosted: Fri Jul 06, 2007 5:52 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 06, 2007 5:56 am    Post subject: Reply with quote

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
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 Discussion » MQRC_NOT_CONVERTED
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.