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 » WebSphere Message Broker (ACE) Support » MQ 2119 Error

Post new topic  Reply to topic
 MQ 2119 Error « View previous topic :: View next topic » 
Author Message
smeunier
PostPosted: Tue Jan 10, 2006 8:27 am    Post subject: MQ 2119 Error Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

On recently converting R3Link transactions to use WBI, I found that when client do a get against the transaction, they encounter a 2119 error: MQRC_NOT_CONVERTED. When building the MQSAPH record(to maintain legacy compatibility) the following parameters.


Code:

-- Create a MQSAPH Header to simulate the R3Link header. This is to maintain
-- downward compatibility with legacy applications.
SET OutputRoot.MQMD.Format = 'MQHSAP  ';
Set OutputRoot.MQSAPH.Version = 1;
Set OutputRoot.MQSAPH.Format = 'MQSTR ';
Set OutputRoot.MQSAPH.Encoding = 273;
Set OutputRoot.MQSAPH.CodedCharSetId = 819;
Set OutputRoot.MQSAPH.Flags = 0;
Set OutputRoot.MQSAPH.Client = ' ';
Set OutputRoot.MQSAPH.Language = ' ';
Set OutputRoot.MQSAPH.HostName = ' ';
Set OutputRoot.MQSAPH.UserId = ' ';
Set OutputRoot.MQSAPH.Password = ' ';
Set OutputRoot.MQSAPH.SystemNumber = ' ';
Set OutputRoot.MQSAPH.Reserved = X'0000';


I suspect the Encoding and CCSID are forcing some sort of conversion to take place when a get is done. What should these values be to set to so this does not become an issue?
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 10, 2006 9:28 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What platform is the Broker on.

I suspect that it should be setting the Encoding and CCSID to use the QM settings, not hard-coded.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
smeunier
PostPosted: Tue Jan 10, 2006 10:58 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

AIX V5 is where the Broker resides. What are the integer values that should be used for the CCSID and Encoding to force the QM settings?

Here is what the R3LINK was putting in, or a header i trapped:

0000000 SAPH???. ???l??.. 53415048 3F3F3F01 3F3F3F6C 3F3F0111
00000016 ??.3MQST R ???? 3F3F0333 4D515354 52202020 3F3F3F3F
00000032 20202020 20202020 20202020 20202020
00000048 20202020 20202020 20202020 20202020
00000064 20202020 20202020 20202020 20202020
00000080 20202020 20202020 20202020 20202020
00000096 ?? 20202020 20202020 20203F3F
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 10, 2006 11:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Actually, I tend to think that the CCSID and Encoding should actually match that of the message data (or really, that of the next section of the message, which I assume in this case is the message body) itself, rather than the platform that the broker might happen to be running on...

So set them to InputRoot.Properties.CodedCharSetId (that field name might not be spelled quite correctly...) and InputRoot.Properties.Encoding, and see if the error goes away.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
smeunier
PostPosted: Tue Jan 10, 2006 11:38 am    Post subject: Reply with quote

Partisan

Joined: 19 Aug 2002
Posts: 305
Location: Green Mountains of Vermont

Actuall, those properties are the same. But as I look ovre a previous trace, I noticed the following. Where the Properties CCSID and Encoding are set to one value, but in the MQMD header, that are different. Not sure what caused this. The message was written out using the RFHUTIL utility. I'll try changing it to what the MQMD shows.

Code:

(0x01000000):Properties = (
                                           (0x03000000):MessageSet      = 'O4VA6K0002001'
                                           (0x03000000):MessageType     = 'MD_SAP_BO_z_200mm_upix_pick01'
                                           (0x03000000):MessageFormat   = 'CwXML'
                                           (0x03000000):Encoding        = 273
                                           (0x03000000):CodedCharSetId  = 819
                                           (0x03000000):Transactional   = TRUE
                                           (0x03000000):Persistence     = FALSE
                                           (0x03000000):CreationTime    = GMTTIMESTAMP '2006-01-09 02:37:06.850'
                                           (0x03000000):ExpirationTime  = -1
                                           (0x03000000):Priority        = 0
                                           (0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
                                           (0x03000000):ReplyProtocol   = 'MQ'
                                           (0x03000000):Topic           = NULL
                                         )
                                         (0x01000000):MQMD       = (
                                           (0x03000000):SourceQueue      = 'MD_SAP.TEST'
                                           (0x03000000):Transactional    = TRUE
                                           (0x03000000):Encoding         = 785
                                           (0x03000000):CodedCharSetId   = 437
                                           (0x03000000):Format           = 'MQHSAP  '
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 » WebSphere Message Broker (ACE) Support » MQ 2119 Error
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.