Author |
Message |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 4:07 pm Subject: Solved! |
Ok Guys I finally figured it out, My first problem was I was not padding the strings in my object correctly when I did the Put.
The second problem of MQR_NOT_CONVERTED was fixed by doing this: w ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 3:36 pm Subject: C# MQRC_NOT_CONVERTED MQException |
The content of the request message is just a Object with bunch of strings.
The reply message is just a string that will tell if the transaction succeeded or failed.
Are you sure? Have you examin ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 3:14 pm Subject: C# MQRC_NOT_CONVERTED MQException |
In detail, what is the content of the request message?
In detail, what is the content of the reply message?
It appears from your code that you have an MQMD, and an MQIIH. What else? Any RFHs? ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 2:50 pm Subject: C# MQRC_NOT_CONVERTED MQException |
It is set to format = MQC.MQFMT_NONE; I have tried setting it to MQC.MQFMT_STRING; but i am still get that error message.
iih.format = "MQIMSVS";
I really think that your co ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 2:11 pm Subject: C# MQRC_NOT_CONVERTED MQException |
Please do a bit more research. From a google search for mqrc 2110 comes this:
2110 MQRC FORMAT ERROR
Technote (troubleshooting)
Problem(Abstract)
You attempt to get a message from your q ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 1:44 pm Subject: C# MQRC_NOT_CONVERTED MQException |
The replying app sets the ccsid of the reply message, just like the requesting app sets the ccsid of the request message.
Did you look at the ccsid field of the reply message? What is it?
The r ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 12:49 pm Subject: C# MQRC_NOT_CONVERTED MQException |
Did you look in the queue to verify that the message ccsid was 819?
Yes after the Put call is complete the writeMsg CharacterSet = 819. So thats fine.
The GET is for the reply message, yes? Did y ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 12:13 pm Subject: C# MQRC_NOT_CONVERTED MQException |
Set it before you write into the message before you do the PUT.
Ok I have done writeMsg.CharacterSet = 819; before the Put happens. Now I am getting MQRC_FORMAT_ERROR on the GET. Also, the MQMessag ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 11:41 am Subject: Re: C# MQRC_NOT_CONVERTED MQException |
I have tried changing the characterSet property to both of those values, but I am still getting that error message.
I have done replyMsg.CharacterSet = 819; before the Get, but I am still getting ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 10:55 am Subject: C# MQRC_NOT_CONVERTED MQException |
Conversion is always done on GET.
You need to change the ccsid on the message object BEFORE you write to it.
How do I change the CCSID on the MQMessage object, that object doesn't have any metho ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 9:30 am Subject: C# MQRC_NOT_CONVERTED MQException |
Encoding, character set and format fields in the MQMD describe attributes of the application data component of your message. Merely changing these fields in the MQMD does not change the application d ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Fri Jul 27, 2012 8:56 am Subject: Re: C# MQRC_NOT_CONVERTED MQException |
I have noticed that C# MQMessage messages have a encoding of 546 and a CharaterSet of 1200 vs encoding 273 and CharaterSet 819 for the Java MQMessage.
MQ headers such as the MQIIH headers have fixed ... |
Topic: C# MQRC_NOT_CONVERTED MQException |
ranjha100
Replies: 30 Views: 63887
|
Forum: IBM MQ API Support Posted: Wed Jul 25, 2012 12:18 pm Subject: C# MQRC_NOT_CONVERTED MQException |
I am converting a Java client code to C#. I am getting a MQRC_NOT_CONVERTED error when doing a Get on a MQQueue on a reply message.
The java code is working perfectly. The application sends a messag ... |
Topic: Websphere MQ .Net help code 2035 = Not Authorized |
ranjha100
Replies: 14 Views: 15835
|
Forum: General IBM MQ Support Posted: Sun Jul 08, 2012 12:22 pm Subject: Re: Websphere MQ .Net help code 2035 = Not Authorized |
Use MQExplorer to do that...
i am a newbie with UNIX, how do you use MQExlorer in Solaris? I can login to the machine using Putty, but don't know what commands to submit. Any help will ... |
Topic: Websphere MQ .Net help code 2035 = Not Authorized |
ranjha100
Replies: 14 Views: 15835
|
Forum: General IBM MQ Support Posted: Thu Jul 05, 2012 3:32 pm Subject: Websphere MQ .Net help code 2035 = Not Authorized |
I am trying to connect to Websphere MQ 7.0.1.4 server running on SunOS 5.10 using C# code.
MQQueueManager queueManager = new MQQueueManager("QM_testmgr", "mychannel", "h ... |