Author |
Message
|
HenriqueS |
Posted: Tue Jul 14, 2009 2:01 pm Post subject: Unkown RC when submitting message to COMMAND.INPUT.QUEUE |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Hello,
I did some tests trying to write to COMMAND.INPUT.QUEUE but I am getting this return code on the reply queue.
00000000 CSQN205I COUNT= 1, RETUR
00000032 N=00D5483F, REASON=FFFFFFFF
I did not find such RC on the Messages and Codes Manual.
In my first test I did write the message from an Unix host with encoding 850 (Ascii). I got a RC complaining about bad chars and assumed I had to send the MQSC command as EBCDIC. Then I did change to the message encoding to 037, sent the test message, and started getting this unkown RC.
Any idea what is this RC about? |
|
Back to top |
|
 |
ctefehinoz |
Posted: Tue Jul 14, 2009 3:47 pm Post subject: |
|
|
Apprentice
Joined: 27 Oct 2003 Posts: 29 Location: Australia
|
MQRC_SOURCE_CCSID_ERROR.
Look at the CSQN205I message and follow the trail. Eventually you end up in the API codes and X'83F' is that^^.
Ctefehinoz |
|
Back to top |
|
 |
HenriqueS |
Posted: Wed Jul 15, 2009 11:33 am Post subject: |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Thanks, I found out the error. Actually the RC is of some special sort and you have to brake it in pieces to find out.
I solved the issue stopping to use the writeUTF() method and doing the following:
Code: |
hello_world.characterSet = 850;
hello_world.writeString("START CHANNEL(XYZ.TO.ABC)");
|
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jul 16, 2009 8:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MQ v6 and later on mainframe support PCF messages. It may be a lot easier to use those.
Unless you're trying to use PCF escape messages, in which case you need to use raw MQSC text messages, instead. |
|
Back to top |
|
 |
HenriqueS |
Posted: Thu Jul 16, 2009 5:22 pm Post subject: |
|
|
 Master
Joined: 22 Sep 2006 Posts: 235
|
Thanks for the insight. I thought only distributed systems supported PCF. I will do some analysis of how much administrative code I need to write in. If I end up discoring that there will be a lot of use and interaction, I will go for PCF. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Fri Jul 17, 2009 1:35 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
HenriqueS wrote: |
Thanks for the insight. I thought only distributed systems supported PCF. I will do some analysis of how much administrative code I need to write in. If I end up discoring that there will be a lot of use and interaction, I will go for PCF. |
Quote: |
MQ v6 and later on mainframe |
 |
|
Back to top |
|
 |
|