Author |
Message |
Topic: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
Pootle
Replies: 12 Views: 10089
|
Forum: General IBM MQ Support Posted: Fri Jan 08, 2016 2:07 am Subject: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
I think I'm there now thanks to you both. I'd wrongly assumed that the encoding of the message related directly to the OS. What I now hopefully understand correctly is that the OS has a default encodi ... |
Topic: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
Pootle
Replies: 12 Views: 10089
|
Forum: General IBM MQ Support Posted: Thu Jan 07, 2016 1:54 pm Subject: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
To give you some more context, I am getting the message to file with an equivalent mqget utility. The MQGET contained therein specifies 546 encoding. I am then trying to put it back on with mqput.
... |
Topic: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
Pootle
Replies: 12 Views: 10089
|
Forum: General IBM MQ Support Posted: Thu Jan 07, 2016 11:56 am Subject: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
Thanks for your quick replies. To answer your questions:
1) The program is written in C.
2) I can't remember how I first established the Linux server is little endian but it certainly is from so ... |
Topic: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
Pootle
Replies: 12 Views: 10089
|
Forum: General IBM MQ Support Posted: Thu Jan 07, 2016 7:38 am Subject: Why do I have to set mqmd encoding = 273 before Linux MQPUT? |
I have a utility program mqput which wraps a call to MQPUT which I have ported from Solaris to Linux. When I tried to use it to put a message on Linux I got a 2142 error.
The MQMD encoding field is ... |
Topic: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
Pootle
Replies: 5 Views: 4523
|
Forum: General IBM MQ Support Posted: Sat Dec 20, 2014 8:36 am Subject: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
Thanks both. You've made it very clear to me. |
Topic: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
Pootle
Replies: 5 Views: 4523
|
Forum: General IBM MQ Support Posted: Fri Dec 19, 2014 11:15 am Subject: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
Many thanks for your quick reply Paul. Having taken the time to understand endian-ness and looked further at our application I think it is the code below which is causing our problem. I presume that o ... |
Topic: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
Pootle
Replies: 5 Views: 4523
|
Forum: General IBM MQ Support Posted: Thu Dec 18, 2014 8:20 am Subject: MQRFH.StrucId contains superfluous SOH character (ASCII 01) |
I am currently working on a project migrating from Solaris to Linux. Following a problem encountered, I wrote a small test program as below, with the output shown on Solaris and Linux. As seen, on Lin ... |