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 IBM MQ Support » MQHSAP message encoding on Linux needs to be 273? Not 546?

Post new topic  Reply to topic
 MQHSAP message encoding on Linux needs to be 273? Not 546? « View previous topic :: View next topic » 
Author Message
lyntongrice
PostPosted: Fri Oct 25, 2013 3:36 am    Post subject: MQHSAP message encoding on Linux needs to be 273? Not 546? Reply with quote

Acolyte

Joined: 26 Sep 2010
Posts: 70

Hi there,

I have an application the puts messages onto a queue, and sometimes these messages need to have the MQHSAP header.

My understanding is that the encoding for MQ on the different boxes is:

MQENC_* (Encoding)
IBM® i 273 X'00000111'
Linux 546 X'00000222'
UNIX systems 273 X'00000111'
Windows 546 X'00000222'
Micro Focus COBOL on Windows 17 X'00000011'
z/OS® 785 X'00000311'

So from what I understand above Linux wants to use encoding 546.

If I try do an MQPUT on my Red Hat Linux box to MQ 7.1 with a message that has MQHSAP specified I always get the following:

Reason code: 2142
Completion code: 2

That error happens when I do not change the Linux encoding of 546.

If I make the encoding 273 the MQPUT works perfectly.

Also interesting is that if I use the commercial product "MQ Visual Edit" from http://www.capitalware.biz ......if I try insert a message onto a queue on Linux with MQHSAP it ONLY allows encoding 273 as well.....the moment I try *force* the encoding to the Linux default of 546 I get the exact same error...2142...

Why would a tool like MQ Visual Edit default all messages I try INSERT manually onto a queue to 273 if the Linux native encoding is meant to be 546?

Do I need to be concerned on this?

Thanks

Lynton
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 IBM MQ Support » MQHSAP message encoding on Linux needs to be 273? Not 546?
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.